From 6c7146695de4c1f2f851e23edca8658868605a77 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 23 May 2014 13:34:33 +0100 Subject: [PATCH] [ipv6] Do not set sin6_scope_id on source address The transmitting network device is specified via the destination address, not the source address. There is no reason to set sin6_scope_id on the source address. Signed-off-by: Michael Brown --- src/net/ndp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/net/ndp.c b/src/net/ndp.c index 6450aa9f..e62f7d5c 100644 --- a/src/net/ndp.c +++ b/src/net/ndp.c @@ -120,7 +120,6 @@ static int ndp_tx_request ( struct net_device *netdev, sin6_src.sin6_family = AF_INET6; memcpy ( &sin6_src.sin6_addr, net_source, sizeof ( sin6_src.sin6_addr ) ); - sin6_src.sin6_scope_id = netdev->index; /* Construct multicast destination address */ memset ( &sin6_dest, 0, sizeof ( sin6_dest ) );