From: Al Viro Date: Tue, 18 Mar 2008 05:48:46 +0000 (-0700) Subject: [IPV4]: ipv4_is_lbcast() misannotations X-Git-Tag: v2.6.25-rc7~54^2~17 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0ff9663c88ac5efdb5c8ac21c0bd7f993a4e3849;p=linux-2.6-omap-h63xx.git [IPV4]: ipv4_is_lbcast() misannotations Signed-off-by: Al Viro Signed-off-by: David S. Miller --- diff --git a/include/linux/in.h b/include/linux/in.h index 70c6df88269..4065313cd7e 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)