diff options
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interface.c b/interface.c index 0a53151..dd303ef 100644 --- a/interface.c +++ b/interface.c @@ -104,6 +104,7 @@ __set_interface_down(struct interface *iface, bool force) iface->state = IFS_TEARDOWN; interface_event(iface, IFEV_DOWN); + interface_del_all_routes(iface); interface_proto_event(iface->proto, PROTO_CMD_TEARDOWN, force); } |