diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-08-21 14:20:07 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-08-21 12:00:10 +0200 |
commit | 57532f1ded4d850e6184b585567cd327f08368fd (patch) | |
tree | 97670257b6b4de94d13203de117954f323043339 | |
parent | 0b25cac94eca77f2df44fe56a52a88b934e0b955 (diff) | |
download | passt-57532f1ded4d850e6184b585567cd327f08368fd.tar passt-57532f1ded4d850e6184b585567cd327f08368fd.tar.gz passt-57532f1ded4d850e6184b585567cd327f08368fd.tar.bz2 passt-57532f1ded4d850e6184b585567cd327f08368fd.tar.lz passt-57532f1ded4d850e6184b585567cd327f08368fd.tar.xz passt-57532f1ded4d850e6184b585567cd327f08368fd.tar.zst passt-57532f1ded4d850e6184b585567cd327f08368fd.zip |
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>
-rw-r--r-- | conf.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -720,7 +720,6 @@ static unsigned int conf_ip6(unsigned int ifi, } ip6->addr_seen = ip6->addr; - ip6->addr_ll_seen = ip6->addr_ll; if (MAC_IS_ZERO(mac)) { rc = nl_link_get_mac(nl_sock, ifi, mac); |