aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r--net/ipv4/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 3d6021585658..1ce6b60b7f93 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,
626 connected = 0; 626 connected = 0;
627 } 627 }
628 628
629 if (MULTICAST(daddr)) { 629 if (ipv4_is_multicast(daddr)) {
630 if (!ipc.oif) 630 if (!ipc.oif)
631 ipc.oif = inet->mc_index; 631 ipc.oif = inet->mc_index;
632 if (!saddr) 632 if (!saddr)