diff options
Diffstat (limited to 'net/ipv4/raw.c')
-rw-r--r-- | net/ipv4/raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index 2ff8214a530b..5aec5a5e5f16 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c | |||
@@ -530,7 +530,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, | |||
530 | if (msg->msg_flags & MSG_DONTROUTE) | 530 | if (msg->msg_flags & MSG_DONTROUTE) |
531 | tos |= RTO_ONLINK; | 531 | tos |= RTO_ONLINK; |
532 | 532 | ||
533 | if (MULTICAST(daddr)) { | 533 | if (ipv4_is_multicast(daddr)) { |
534 | if (!ipc.oif) | 534 | if (!ipc.oif) |
535 | ipc.oif = inet->mc_index; | 535 | ipc.oif = inet->mc_index; |
536 | if (!saddr) | 536 | if (!saddr) |