projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8527f45
)
reset l3 dev on interface reload
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 18 Oct 2011 17:19:02 +0000
(19:19 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 18 Oct 2011 17:19:02 +0000
(19:19 +0200)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 5bbc0c3f77639d9d275a245ae538fc6248be9266..7c8a0c258eaabdb29d215750501140a08ef52c6a 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-215,6
+215,7
@@
interface_cleanup(struct interface *iface)
interface_clear_errors(iface);
if (iface->main_dev.dev)
device_remove_user(&iface->main_dev);
+ iface->l3_dev = &iface->main_dev;
interface_set_proto_state(iface, NULL);
}