diff options
author | Joe Perches <joe@perches.com> | 2007-12-16 13:45:43 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:58:15 -0800 |
commit | f97c1e0c6ebdb606c97b6cb5e837c6110ac5a961 (patch) | |
tree | 2af3da0114614a127099f9ab2ef706f676faa376 /net/ipv4/udp.c | |
parent | 21cf2253ebcf070bc307e0b56d696a2519c75cb4 (diff) | |
download | op-kernel-dev-f97c1e0c6ebdb606c97b6cb5e837c6110ac5a961.zip op-kernel-dev-f97c1e0c6ebdb606c97b6cb5e837c6110ac5a961.tar.gz |
[IPV4] net/ipv4: Use ipv4_is_<type>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r-- | net/ipv4/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 3d60215..1ce6b60 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -626,7 +626,7 @@ int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, connected = 0; } - if (MULTICAST(daddr)) { + if (ipv4_is_multicast(daddr)) { if (!ipc.oif) ipc.oif = inet->mc_index; if (!saddr) |