Skip to content
Snippets Groups Projects
Commit 0ff9663c authored by Al Viro's avatar Al Viro Committed by David S. Miller
Browse files

[IPV4]: ipv4_is_lbcast() misannotations

parent 27724426
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment