[SCTP]: Trivial sctp endianness annotations.
[deliverable/linux.git] / include / net / sctp / constants.h
index 6c632e26f72dfb6e2fb7ebbc3c01ae767efdccd7..5ddb85599863ae79edae4e93f0b5e97b60db736b 100644 (file)
@@ -356,7 +356,7 @@ typedef enum {
  * addresses.
  */
 #define IS_IPV4_UNUSABLE_ADDRESS(a) \
-       ((INADDR_BROADCAST == *a) || \
+       ((htonl(INADDR_BROADCAST) == *a) || \
        (MULTICAST(*a)) || \
        (((unsigned char *)(a))[0] == 0) || \
        ((((unsigned char *)(a))[0] == 198) && \
This page took 0.024608 seconds and 5 git commands to generate.