diff options
author | Martin Mares <mj@ucw.cz> | 1999-10-12 09:46:08 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-10-12 09:46:08 +0200 |
commit | 89dc383a8ce26bfe49250e5063bcadec22ff42c6 (patch) | |
tree | 3018b3f2fa90ec04e27a13f240c76ad618e62f50 /lib/ipv4.h | |
parent | d3dd620b96c5960207b9321b416423b8130a4df7 (diff) | |
download | bird-89dc383a8ce26bfe49250e5063bcadec22ff42c6.tar bird-89dc383a8ce26bfe49250e5063bcadec22ff42c6.zip |
Changed syntax of ip_class_mask, the old one was stupid.
Diffstat (limited to 'lib/ipv4.h')
-rw-r--r-- | lib/ipv4.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ typedef u32 ip_addr; #define ipa_ntoh(x) x = _MI(ntohl(_I(x))) #define ipa_classify(x) ipv4_classify(_I(x)) #define ipa_opposite(x) _MI(_I(x) ^ 1) -#define ipa_class_mask(x) x = _MI(ipv4_class_mask(_I(x))) +#define ipa_class_mask(x) _MI(ipv4_class_mask(_I(x))) #define ipa_from_u32(x) _MI(x) #define ipa_to_u32(x) _I(x) #define ipa_compare(x,y) ipv4_compare(_I(x),_I(y)) |