diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-18 19:19:02 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-18 19:19:02 +0200 |
commit | 416b41368c72d3af4c0e89a7b522b28ea13a6ce4 (patch) | |
tree | 36c33055d273f1106e75b80231f410cacaa0b9fc /interface.c | |
parent | 8527f455f6d35cf9e142cf9981b6553f0e239562 (diff) |
reset l3 dev on interface reload
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 5bbc0c3..7c8a0c2 100644 --- 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); } |