summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-03-17 22:48:46 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-17 22:48:46 -0700
commit0ff9663c88ac5efdb5c8ac21c0bd7f993a4e3849 (patch)
treeb6eae1c0146d6b44143f6af715c4ec98d21abdc2 /include/linux
parent27724426a9000086993a8107a11cff276c4bd4d4 (diff)
downloadtalos-obmc-linux-0ff9663c88ac5efdb5c8ac21c0bd7f993a4e3849.tar.gz
talos-obmc-linux-0ff9663c88ac5efdb5c8ac21c0bd7f993a4e3849.zip
[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/linux')
-rw-r--r--include/linux/in.h2
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)
OpenPOWER on IntegriCloud