projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
interface: allow an interface to specify device configs even when there are other...
[project/netifd.git]
/
config.c
diff --git
a/config.c
b/config.c
index
fa47b94
..
132ec43
100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-136,8
+136,8
@@
config_parse_interface(struct uci_section *s, bool alias)
if (blob_len(b.head) == 0)
return;
if (blob_len(b.head) == 0)
return;
- if (iface->device_config)
- device_
set
_config(dev, dev->type, b.head);
+ if (iface->device_config
|| dev->settings.flags
)
+ device_
apply
_config(dev, dev->type, b.head);
return;
error_free_config:
free(config);
return;
error_free_config:
free(config);