diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-03-17 22:48:46 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-17 22:48:46 -0700 |
commit | 0ff9663c88ac5efdb5c8ac21c0bd7f993a4e3849 (patch) | |
tree | b6eae1c0146d6b44143f6af715c4ec98d21abdc2 /include | |
parent | 27724426a9000086993a8107a11cff276c4bd4d4 (diff) |
[IPV4]: ipv4_is_lbcast() misannotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/in.h b/include/linux/in.h index 70c6df882694..4065313cd7ee 100644 --- a/include/linux/in.h +++ b/include/linux/in.h @@ -265,7 +265,7 @@ static inline bool ipv4_is_local_multicast(__be32 addr) static inline bool ipv4_is_lbcast(__be32 addr) { /* limited broadcast */ - return addr == INADDR_BROADCAST; + return addr == htonl(INADDR_BROADCAST); } static inline bool ipv4_is_zeronet(__be32 addr) |