summaryrefslogtreecommitdiffstats
path: root/src/iftable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iftable.c')
-rw-r--r--src/iftable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iftable.c b/src/iftable.c
index f316217..c3a8448 100644
--- a/src/iftable.c
+++ b/src/iftable.c
@@ -245,7 +245,7 @@ struct nlif_handle *nlif_open(void)
return h;
err_unregister:
- rtnl_handler_unregister(h->rtnl_handle, &h->ifdel_handler);
+ rtnl_handler_unregister(h->rtnl_handle, &h->ifadd_handler);
err_close:
rtnl_close(h->rtnl_handle);
free(h);