diff --git a/src/netdev.c b/src/netdev.c index 41f0a074..99989257 100644 --- a/src/netdev.c +++ b/src/netdev.c @@ -4439,7 +4439,7 @@ static void netdev_create_from_genl(struct l_genl_msg *msg) rtmmsg->ifi_index = *ifindex; l_netlink_send(rtnl, RTM_GETLINK, 0, rtmmsg, bufsize, - netdev_getlink_cb, netdev, NULL); + netdev_getlink_cb, NULL, NULL); l_free(rtmmsg);