projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a444521
)
interface: do not set device_config where only the ifname option matches
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 23 Jan 2015 23:53:28 +0000
(
00:53
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 23 Jan 2015 23:53:28 +0000
(
00:53
+0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
config.c
patch
|
blob
|
history
diff --git
a/config.c
b/config.c
index 8b6a5ba801beb31ee285f1765ca0523f2c64e50f..7319b3c0eabc4570b5932d1d533a92ef7bd6a781 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 (!bridge && uci_to_blob(&b, s, simple_device_type.config_params))
+ if (!bridge && uci_to_blob(&b, s, simple_device_type.config_params)
> 1
)
iface->device_config = true;
config = blob_memdup(b.head);