diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 17:01:42 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:26:23 -0800 |
commit | dbc16db1e58da6c346ca3e63870c17b93fbed0f0 (patch) | |
tree | bfa4a31af842760a94ce9b29d575473d9db43c34 /include/net/sctp/constants.h | |
parent | 72f17e1c0984fbdb60abf245d81b947393910100 (diff) | |
download | linux-dbc16db1e58da6c346ca3e63870c17b93fbed0f0.tar.bz2 |
[SCTP]: Trivial sctp endianness annotations.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp/constants.h')
-rw-r--r-- | include/net/sctp/constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h index 6c632e26f72d..5ddb85599863 100644 --- a/include/net/sctp/constants.h +++ b/include/net/sctp/constants.h @@ -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) && \ |