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:
500779b
)
netifd: set current_config for simple devices when parsing device config
author
Hans Dedecker
<dedeckeh@gmail.com>
Mon, 2 Feb 2015 15:11:22 +0000
(16:11 +0100)
committer
Steven Barth
<steven@midlink.org>
Mon, 9 Feb 2015 08:26:16 +0000
(09:26 +0100)
If currrent_config is not set when the simple device config is applied the
device will be deleted in device_reset_old
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
config.c
patch
|
blob
|
history
diff --git
a/config.c
b/config.c
index 4e91e1854e5bca3404e9b33f6077dea201750532..22dd8356f98e36730ca7517bf5847e1ff90329b7 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-218,6
+218,7
@@
config_init_devices(void)
if (!dev)
continue;
+ dev->current_config = true;
device_apply_config(dev, dev->type, b.head);
}
dev->default_config = false;