diff options
| author | Jon Maloy <jmaloy@redhat.com> | 2026-03-09 15:52:33 -0400 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-03-10 15:28:11 +0100 |
| commit | 251e676bd0bffe0c3b8bf0e925fbc87b6d4eeb6a (patch) | |
| tree | 9f9712de3e1877c1ac472a1420c9fe6b42b64dce /doc/platform-requirements | |
| parent | 045560c20a45a452ca1ed79b15fb01d9da5421e4 (diff) | |
| download | passt-251e676bd0bffe0c3b8bf0e925fbc87b6d4eeb6a.tar passt-251e676bd0bffe0c3b8bf0e925fbc87b6d4eeb6a.tar.gz passt-251e676bd0bffe0c3b8bf0e925fbc87b6d4eeb6a.tar.bz2 passt-251e676bd0bffe0c3b8bf0e925fbc87b6d4eeb6a.tar.lz passt-251e676bd0bffe0c3b8bf0e925fbc87b6d4eeb6a.tar.xz passt-251e676bd0bffe0c3b8bf0e925fbc87b6d4eeb6a.tar.zst passt-251e676bd0bffe0c3b8bf0e925fbc87b6d4eeb6a.zip | |
netlink: Return prefix length for IPv6 addresses in nl_addr_get()
nl_addr_get() was not setting the prefix_len output parameter for
IPv6 addresses, only for IPv4. This meant callers always got 0 for
IPv6, forcing them to use a hardcoded default (64).
Fix by assigning *prefix_len even in the IPv6 case.
Signed-off-by: Jon Maloy <jmaloy@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc/platform-requirements')
0 files changed, 0 insertions, 0 deletions
