The above-referenced commit in Linus'
tree changed the prototype of genl_dump_check_consistent in netlink.h. This
patch updates netlink.c in WG accordingly so WG builds against the latest
tree.
---
src/netlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/netlink.c b/src/netlink.c
index 7fa243e..43e5ce0 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -177,7 +177,7 @@ static int get_device_dump(struct sk_buff *skb, struct
netlink_callback *cb)
hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq,
&genl_family, NLM_F_MULTI, WG_CMD_GET_DEVICE);
if (!hdr)
goto out;
- genl_dump_check_consistent(cb, hdr, &genl_family);
+ genl_dump_check_consistent(cb, hdr);
if (!last_peer_cursor) {
if (nla_put_u16(skb, WGDEVICE_A_LISTEN_PORT, wg->incoming_port)
|| nla_put_u32(skb, WGDEVICE_A_FWMARK, wg->fwmark) || nla_put_u32(skb,
WGDEVICE_A_IFINDEX, wg->dev->ifindex) || nla_put_string(skb, WGDEVICE_A_IFNAME,
wg->dev->name))
--
2.1.4
_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard