aboutsummaryrefslogtreecommitdiffstats
path: root/pingu_netlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'pingu_netlink.c')
-rw-r--r--pingu_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pingu_netlink.c b/pingu_netlink.c
index 7373364..1aafdff 100644
--- a/pingu_netlink.c
+++ b/pingu_netlink.c
@@ -588,8 +588,8 @@ static void netlink_addr_del_cb(struct nlmsghdr *nlmsg)
if (iface == NULL)
return;
- pingu_iface_set_addr(iface, 0, NULL, 0);
netlink_rule_del(&talk_fd, iface);
+ pingu_iface_set_addr(iface, 0, NULL, 0);
}
static struct pingu_gateway *gw_from_rtmsg(struct pingu_gateway *gw,