diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-10-19 09:01:27 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-10-19 09:01:27 +0200 |
commit | 17600d6d6ef0edf60bbf64c5bef594a8a07547cc (patch) | |
tree | 7985a9dde7c81ba098296fdcfe63c070b4e36253 /netlink.h | |
parent | 1ac0d52820e0cfd6c7f301e3f5d5717cda4dea88 (diff) | |
download | passt-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |