aboutgitcodebugslistschat
path: root/doc
diff options
context:
space:
mode:
authorJon Maloy <jmaloy@redhat.com>2026-03-09 15:52:33 -0400
committerStefano Brivio <sbrivio@redhat.com>2026-03-10 15:28:11 +0100
commit251e676bd0bffe0c3b8bf0e925fbc87b6d4eeb6a (patch)
tree9f9712de3e1877c1ac472a1420c9fe6b42b64dce /doc
parent045560c20a45a452ca1ed79b15fb01d9da5421e4 (diff)
downloadpasst-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')
0 files changed, 0 insertions, 0 deletions