diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2015-02-02 16:11:22 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-02-09 09:26:16 +0100 |
commit | cc8c69f2533e3c85e3631f1371a4207c2d5becce (patch) | |
tree | 1f0cb845f84064a3b9bba63f5ee0abee4a89396f /config.c | |
parent | 500779b3750d8a7603401128f6eb4e942e684616 (diff) |
netifd: set current_config for simple devices when parsing device config
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>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |