diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-09-30 15:49:11 +1000 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-09-30 12:03:39 +0200 |
| commit | a96a962d7e51582ea6aaf1f9180f1be7956f5d1f (patch) | |
| tree | 59d73356a421e75683e3895b133217a878224970 /test/lib | |
| parent | 70867817a93353653e367010b18416040740e75c (diff) | |
| download | passt-a96a962d7e51582ea6aaf1f9180f1be7956f5d1f.tar passt-a96a962d7e51582ea6aaf1f9180f1be7956f5d1f.tar.gz passt-a96a962d7e51582ea6aaf1f9180f1be7956f5d1f.tar.bz2 passt-a96a962d7e51582ea6aaf1f9180f1be7956f5d1f.tar.lz passt-a96a962d7e51582ea6aaf1f9180f1be7956f5d1f.tar.xz passt-a96a962d7e51582ea6aaf1f9180f1be7956f5d1f.tar.zst passt-a96a962d7e51582ea6aaf1f9180f1be7956f5d1f.zip | |
netlink: Don't require address to be global, just not link local
nl_addr_get() will only pick up global IPv6 addresses (RT_SCOPE_UNIVERSE).
This is because link-local addresses aren't suitable. However site-local
addresses (in the rare occassions they're used) would be fine for our
purposes. In fact, anything wider than link scope is fine, so update the
check to reflect that.
Change the logic in the test scripts to match as well.
Reported-by: Xun Gu <xugu@redhat.com>
Link: https://bugs.passt.top/show_bug.cgi?id=122
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib')
0 files changed, 0 insertions, 0 deletions
