mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-22 09:31:51 +00:00
[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>
This commit is contained in:
parent
6206f8f0f9
commit
6c7146695d
@ -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 ) );
|
||||
|
Loading…
Reference in New Issue
Block a user