]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/in.h
ACPICA: Remove obsolete debug levels (WARN and ERROR)
[mv-sheeva.git] / include / linux / in.h
index 27d8a5ae9f7589973395e501aa4f5c0b81077ef6..4065313cd7eee7f3a287d3cd0629ffcb726041f1 100644 (file)
@@ -262,9 +262,10 @@ static inline bool ipv4_is_local_multicast(__be32 addr)
        return (addr & htonl(0xffffff00)) == htonl(0xe0000000);
 }
 
-static inline bool ipv4_is_badclass(__be32 addr)
+static inline bool ipv4_is_lbcast(__be32 addr)
 {
-       return (addr & htonl(0xf0000000)) == htonl(0xf0000000);
+       /* limited broadcast */
+       return addr == htonl(INADDR_BROADCAST);
 }
 
 static inline bool ipv4_is_zeronet(__be32 addr)