diff options
author | Michael Brown <mcb30@ipxe.org> | 2014-05-23 13:34:33 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-05-23 14:11:17 +0100 |
commit | 6c7146695de4c1f2f851e23edca8658868605a77 (patch) | |
tree | 7c9944a57c98bca4e3196b48b421c8bc23a57214 /src/net | |
parent | 6206f8f0f9b3c6fb822b6639eaffb460f5ddb9d2 (diff) | |
download | ipxe-6c7146695de4c1f2f851e23edca8658868605a77.zip ipxe-6c7146695de4c1f2f851e23edca8658868605a77.tar.gz ipxe-6c7146695de4c1f2f851e23edca8658868605a77.tar.bz2 |
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ndp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net/ndp.c b/src/net/ndp.c index 6450aa9..e62f7d5 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 ) ); |