mirror of
https://github.com/opnsense/src.git
synced 2026-05-19 08:25:22 -04:00
Embedding the scope ID is no longer needed for IPv6.
Sponsored by: Mellanox Technologies
This commit is contained in:
parent
e02ecc60b8
commit
526f596179
1 changed files with 0 additions and 3 deletions
|
|
@ -1286,9 +1286,6 @@ static bool validate_ipv6_net_dev(struct net_device *net_dev,
|
|||
struct rtentry *rte;
|
||||
bool ret;
|
||||
|
||||
/* embed scope ID */
|
||||
in6_addr.s6_addr[3] = src_addr->sin6_scope_id;
|
||||
|
||||
src_dev = ip6_dev_find(net_dev->if_vnet, in6_addr);
|
||||
if (src_dev != net_dev)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue