summaryrefslogtreecommitdiff
path: root/include/linux/in.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-03-25 21:44:18 (GMT)
committerPaul Mackerras <paulus@samba.org>2008-03-25 21:44:18 (GMT)
commit54f53f2b94feb72622bec7a8563fc487d9f97720 (patch)
treeab0c4e1dcadd25a00fa7a4febf41bc43b864cf73 /include/linux/in.h
parentf61fb8a52cdf8b9b6a6badde84aefe58cb35d315 (diff)
parenta4083c9271e0a697278e089f2c0b9a95363ada0a (diff)
downloadlinux-fsl-qoriq-54f53f2b94feb72622bec7a8563fc487d9f97720.tar.xz
Merge branch 'linux-2.6'
Diffstat (limited to 'include/linux/in.h')
-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 70c6df8..4065313 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)