Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75347
b: refs/heads/master
c: 1ac4f00
h: refs/heads/master
i:
  75345: 5881e5b
  75343: 102619d
v: v3
  • Loading branch information
Brian Haley authored and David S. Miller committed Jan 9, 2008
1 parent faee9aa commit 60bfcf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf585ae8ae9ac7287a6d078425ea32f22bf7f1f7
refs/heads/master: 1ac4f008857487bf45b709248d71c5b3f4cae7b5
6 changes: 3 additions & 3 deletions trunk/net/ipv6/datagram.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ int ip6_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len)
goto out;
}
sk->sk_bound_dev_if = usin->sin6_scope_id;
if (!sk->sk_bound_dev_if &&
(addr_type & IPV6_ADDR_MULTICAST))
fl.oif = np->mcast_oif;
}

if (!sk->sk_bound_dev_if && (addr_type & IPV6_ADDR_MULTICAST))
sk->sk_bound_dev_if = np->mcast_oif;

/* Connect to link-local address requires an interface */
if (!sk->sk_bound_dev_if) {
err = -EINVAL;
Expand Down

0 comments on commit 60bfcf5

Please sign in to comment.