diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 00:53:28 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 00:53:28 +0100 |
commit | 8dd2eedafccc9f898d391b93a59efb1412c5b5e9 (patch) | |
tree | 5f53e1abb95f39501e08d9902cd5d46772c8538b | |
parent | a4445215e06ee3056427effbef617f4525ee1836 (diff) |
interface: do not set device_config where only the ifname option matches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |