diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-07-12 23:28:22 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-07-12 23:38:40 +0200 |
commit | a2bc078dd3187752d18163266ccbf6c40803d5c9 (patch) | |
tree | 9e3dad8cf1cf23b3bde05a6ec485d60bd5b77d4f /interface.c | |
parent | e4285cdc1bda303b01bbf2a43340d3f40f477820 (diff) | |
download | netifd-a2bc078dd3187752d18163266ccbf6c40803d5c9.tar.gz |
add simple device config params to interface blob attributes, and add a flag that indicates if it is present
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interface.c b/interface.c index 036df6c..4a42ad9 100644 --- a/interface.c +++ b/interface.c @@ -696,6 +696,7 @@ interface_change_config(struct interface *if_old, struct interface *if_new) if (!if_old->config_autostart && if_new->config_autostart) if_old->autostart = true; + if_old->device_config = if_new->device_config; if_old->config_autostart = if_new->config_autostart; if_old->ifname = if_new->ifname; if_old->parent_ifname = if_new->parent_ifname; |