aboutgitcodebugslistschat
path: root/netlink.h
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-19 09:01:27 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-19 09:01:27 +0200
commit17600d6d6ef0edf60bbf64c5bef594a8a07547cc (patch)
tree7985a9dde7c81ba098296fdcfe63c070b4e36253 /netlink.h
parent1ac0d52820e0cfd6c7f301e3f5d5717cda4dea88 (diff)
downloadpasst-17600d6d6ef0edf60bbf64c5bef594a8a07547cc.tar
passt-17600d6d6ef0edf60bbf64c5bef594a8a07547cc.tar.gz
passt-17600d6d6ef0edf60bbf64c5bef594a8a07547cc.tar.bz2
passt-17600d6d6ef0edf60bbf64c5bef594a8a07547cc.tar.lz
passt-17600d6d6ef0edf60bbf64c5bef594a8a07547cc.tar.xz
passt-17600d6d6ef0edf60bbf64c5bef594a8a07547cc.tar.zst
passt-17600d6d6ef0edf60bbf64c5bef594a8a07547cc.zip
netlink, conf: Actually get prefix/mask length
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'netlink.h')
-rw-r--r--netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlink.h b/netlink.h
index 460c2f1..840e451 100644
--- a/netlink.h
+++ b/netlink.h
@@ -2,5 +2,5 @@ int nl_sock_init(struct ctx *c);
unsigned int nl_get_ext_if(int *v4, int *v6);
void nl_route(int ns, unsigned int ifi, sa_family_t af, void *gw);
void nl_addr(int ns, unsigned int ifi, sa_family_t af,
- void *addr, int prefix_len, void *addr_l);
+ void *addr, int *prefix_len, void *addr_l);
void nl_link(int ns, unsigned int ifi, void *mac, int up, int mtu);