projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add routes/gateway support
[project/netifd.git]
/
interface.c
diff --git
a/interface.c
b/interface.c
index
0a53151
..
dd303ef
100644
(file)
--- 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);
}