projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reset iface->config_state when handling it
[project/netifd.git]
/
interface.c
diff --git
a/interface.c
b/interface.c
index
6cad26b
..
8f5fa98
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)
{
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:
case IFC_NORMAL:
break;
case IFC_RELOAD: