diff options
Diffstat (limited to 'lib/if.c')
-rw-r--r-- | lib/if.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1292,6 +1292,12 @@ if_terminate (struct list **intf_list) if (ifp == NULL) break; + if (ifp->node) + { + ifp->node->info = NULL; + route_unlock_node (ifp->node); + } + if_delete (ifp); } |