summaryrefslogtreecommitdiffhomepage
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 2d61502..8ac433d 100644
--- a/src/device.c
+++ b/src/device.c
@@ -272,7 +272,7 @@ static void setup(struct net_device *dev)
memset(wg, 0, sizeof(struct wireguard_device));
}
-static int newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[])
+static int newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack)
{
int ret = -ENOMEM, cpu;
struct wireguard_device *wg = netdev_priv(dev);