projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "interface: do not set device_config where only the ifname option matches"
[project/netifd.git]
/
config.c
diff --git
a/config.c
b/config.c
index
34d2f2b
..
fa47b94
100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-105,7
+105,7
@@
config_parse_interface(struct uci_section *s, bool alias)
if (iface->proto_handler && iface->proto_handler->config_params)
uci_to_blob(&b, s, iface->proto_handler->config_params);
if (iface->proto_handler && iface->proto_handler->config_params)
uci_to_blob(&b, s, iface->proto_handler->config_params);
- if (!bridge && uci_to_blob(&b, s, simple_device_type.config_params)
> 1
)
+ if (!bridge && uci_to_blob(&b, s, simple_device_type.config_params))
iface->device_config = true;
config = blob_memdup(b.head);
iface->device_config = true;
config = blob_memdup(b.head);