commit | f97c1e0c6ebdb606c97b6cb5e837c6110ac5a961 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Sun Dec 16 13:45:43 2007 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 28 14:58:15 2008 -0800 |
tree | 2af3da0114614a127099f9ab2ef706f676faa376 | |
parent | 21cf2253ebcf070bc307e0b56d696a2519c75cb4 [diff] [blame] |
[IPV4] net/ipv4: Use ipv4_is_<type> Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 1102fb3..fdf12d1 100644 --- a/net/ipv4/arp.c +++ b/net/ipv4/arp.c
@@ -777,7 +777,7 @@ * Check for bad requests for 127.x.x.x and requests for multicast * addresses. If this is one such, delete it. */ - if (LOOPBACK(tip) || MULTICAST(tip)) + if (ipv4_is_loopback(tip) || ipv4_is_multicast(tip)) goto out; /*