[IPV4] net/ipv4: Use ipv4_is_<type>
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
21cf2253eb
commit
f97c1e0c6e
@@ -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)
|
||||
|
Reference in New Issue
Block a user