mirror of
https://passt.top/passt
synced 2024-12-22 13:45:32 +00:00
conf: Remove incorrect initialisation of addr_ll_seen
Despite the names, addr_ll_seen does not relate to addr_ll the same way addr_seen relates to addr. addr_ll_seen is an observed address from the guest, whereas addr_ll is *our* link-local address for use on the tap link when we can't use an external endpoint address. It's used both for passt provided services (DHCPv6, NDP) and in some cases for connections from addresses the guest can't access. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
0b25cac94e
commit
57532f1ded
1
conf.c
1
conf.c
@ -720,7 +720,6 @@ static unsigned int conf_ip6(unsigned int ifi,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ip6->addr_seen = ip6->addr;
|
ip6->addr_seen = ip6->addr;
|
||||||
ip6->addr_ll_seen = ip6->addr_ll;
|
|
||||||
|
|
||||||
if (MAC_IS_ZERO(mac)) {
|
if (MAC_IS_ZERO(mac)) {
|
||||||
rc = nl_link_get_mac(nl_sock, ifi, mac);
|
rc = nl_link_get_mac(nl_sock, ifi, mac);
|
||||||
|
Loading…
Reference in New Issue
Block a user