diff options
Diffstat (limited to 'net/l2tp/l2tp_ip6.c')
-rw-r--r-- | net/l2tp/l2tp_ip6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_ip6.c b/net/l2tp/l2tp_ip6.c index f3f98a156cee..0edb263cc002 100644 --- a/net/l2tp/l2tp_ip6.c +++ b/net/l2tp/l2tp_ip6.c | |||
@@ -687,7 +687,7 @@ static int l2tp_ip6_recvmsg(struct kiocb *iocb, struct sock *sk, | |||
687 | lsa->l2tp_scope_id = 0; | 687 | lsa->l2tp_scope_id = 0; |
688 | lsa->l2tp_conn_id = 0; | 688 | lsa->l2tp_conn_id = 0; |
689 | if (ipv6_addr_type(&lsa->l2tp_addr) & IPV6_ADDR_LINKLOCAL) | 689 | if (ipv6_addr_type(&lsa->l2tp_addr) & IPV6_ADDR_LINKLOCAL) |
690 | lsa->l2tp_scope_id = IP6CB(skb)->iif; | 690 | lsa->l2tp_scope_id = inet6_iif(skb); |
691 | } | 691 | } |
692 | 692 | ||
693 | if (np->rxopt.all) | 693 | if (np->rxopt.all) |