mirror of
https://passt.top/passt
synced 2024-12-22 13:45:32 +00:00
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>
This commit is contained in:
parent
946206437a
commit
b91d3373ac
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user