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:
2dae386
)
Revert "interface: do not set device_config where only the ifname option matches"
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 16 Feb 2015 09:00:58 +0000
(20:00 +1100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 16 Feb 2015 09:01:42 +0000
(20:01 +1100)
This reverts commit
8dd2eedafccc9f898d391b93a59efb1412c5b5e9
.
This commit was reported to cause a regression with setting MTU on
interfaces.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
config.c
patch
|
blob
|
history
diff --git
a/config.c
b/config.c
index 34d2f2b9cd26056d9ec06ea02536b74b05843040..fa47b94177a5327ce9151aedbb259553d42ad67c 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)
> 1
)
+ if (!bridge && uci_to_blob(&b, s, simple_device_type.config_params))
iface->device_config = true;
config = blob_memdup(b.head);