projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7db45fc
)
reset iface->config_state when handling it
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 23 May 2012 20:07:03 +0000
(22:07 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 23 May 2012 20:07:03 +0000
(22:07 +0200)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 6cad26bee0f3a1baf2e34fedfc66b1e1a4a1fa4d..8f5fa984e12b1354604361f636b650bc41c9cb55 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-306,7
+306,10
@@
interface_do_reload(struct interface *iface)
static void
interface_handle_config_change(struct interface *iface)
{
- switch(iface->config_state) {
+ enum interface_config_state state = iface->config_state;
+
+ iface->config_state = IFC_NORMAL;
+ switch(state) {
case IFC_NORMAL:
break;
case IFC_RELOAD: