diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2015-03-18 16:54:48 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-03-19 16:27:11 +0100 |
commit | 60f57b2bfb87c463fc271a9c3e8e1f97feaecdca (patch) | |
tree | ce52bb7a5b8ea01df3957bf9a25567c05770c637 /config.c | |
parent | 45fd905c980e56b20770d4b34556749fbca53fcc (diff) |
netifd:Make sure interface device config is also cached
Fixes issue interface device config is not applied in some cases.
As the interface device config was applied but not always cached;
an interface device config diff was not always detected.
Simplify device config setting by exposing as api only device_apply_config
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ config_parse_interface(struct uci_section *s, bool alias) return; if (iface->device_config || dev->settings.flags) - device_set_config(dev, dev->type, b.head); + device_apply_config(dev, dev->type, b.head); return; error_free_config: free(config); |