diff options
Diffstat (limited to 'inet/netinet/in.h')
-rw-r--r-- | inet/netinet/in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/netinet/in.h b/inet/netinet/in.h index ddc0975..418c6f9 100644 --- a/inet/netinet/in.h +++ b/inet/netinet/in.h @@ -118,7 +118,7 @@ struct in_addr #define IN_CLASSB_HOST (0xffffffff & ~IN_CLASSB_NET) #define IN_CLASSB_MAX 65536 -#define IN_CLASSC(a) ((((uint32_t) (a)) & 0xc0000000) == 0xc0000000) +#define IN_CLASSC(a) ((((uint32_t) (a)) & 0xe0000000) == 0xc0000000) #define IN_CLASSC_NET 0xffffff00 #define IN_CLASSC_NSHIFT 8 #define IN_CLASSC_HOST (0xffffffff & ~IN_CLASSC_NET) |