diff --git a/include/netinet/in.h b/include/netinet/in.h index 154f785e2c7..a2e0e6ff665 100644 --- a/include/netinet/in.h +++ b/include/netinet/in.h @@ -201,7 +201,7 @@ ((a)->s6_addr[0] == 0xff) #define IN6_IS_ADDR_LINKLOCAL(a) \ - ((a)->s6_addr16[0] & HTONS(0xffc0) == HTONS(0xfe80)) + (((a)->s6_addr16[0] & HTONS(0xffc0)) == HTONS(0xfe80)) #define IN6_IS_ADDR_LOOPBACK(a) \ ((a)->s6_addr32[0] == 0 && \