aboutgitcodebugslistschat
path: root/netlink.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2024-08-14 20:43:10 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-08-15 09:14:29 +0200
commitb91d3373acd0201cf0ec6f390f0af4c8a2330081 (patch)
tree3707549cdc4674284e89a50e8906e587a93b865c /netlink.c
parent946206437a215ca5ce5020ff1e745e237f27f3e7 (diff)
downloadpasst-b91d3373acd0201cf0ec6f390f0af4c8a2330081.tar
passt-b91d3373acd0201cf0ec6f390f0af4c8a2330081.tar.gz
passt-b91d3373acd0201cf0ec6f390f0af4c8a2330081.tar.bz2
passt-b91d3373acd0201cf0ec6f390f0af4c8a2330081.tar.lz
passt-b91d3373acd0201cf0ec6f390f0af4c8a2330081.tar.xz
passt-b91d3373acd0201cf0ec6f390f0af4c8a2330081.tar.zst
passt-b91d3373acd0201cf0ec6f390f0af4c8a2330081.zip
netlink: Fix typo in function comment for nl_addr_get()
Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'netlink.c')
-rw-r--r--netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlink.c b/netlink.c
index 093de26..e6a315e 100644
--- a/netlink.c
+++ b/netlink.c
@@ -682,7 +682,7 @@ int nl_route_dup(int s_src, unsigned int ifi_src,
* @prefix_len: Mask or prefix length, to fill (for IPv4)
* @addr_l: Link-scoped address to fill (for IPv6)
*
- * Return: 9 on success, negative error code on failure
+ * Return: 0 on success, negative error code on failure
*/
int nl_addr_get(int s, unsigned int ifi, sa_family_t af,
void *addr, int *prefix_len, void *addr_l)