summaryrefslogtreecommitdiff
path: root/package/swconfig
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-03 04:20:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-03 04:20:18 +0000
commit3d9f6f3d3536a14458009d1954460c824853743e (patch)
tree3bda6b926f7857cf3a4e6b2eb5ebd9236c7b8f43 /package/swconfig
parentb017df3812168650ae72628c7d0bcff7c415934e (diff)
downloadmtk-20170518-3d9f6f3d3536a14458009d1954460c824853743e.zip
mtk-20170518-3d9f6f3d3536a14458009d1954460c824853743e.tar.gz
mtk-20170518-3d9f6f3d3536a14458009d1954460c824853743e.tar.bz2
swconfig: make reset and enable_vlan default to 1 (based on patch by Nikolay Martynov)
SVN-Revision: 27375
Diffstat (limited to 'package/swconfig')
-rw-r--r--package/swconfig/src/uci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/swconfig/src/uci.c b/package/swconfig/src/uci.c
index e597ace..ce544c3 100644
--- a/package/swconfig/src/uci.c
+++ b/package/swconfig/src/uci.c
@@ -46,8 +46,8 @@ struct swlib_setting {
};
struct swlib_setting early_settings[] = {
- { .name = "reset" },
- { .name = "enable_vlan" },
+ { .name = "reset", .val = "1" },
+ { .name = "enable_vlan", .val = "1" },
};
static struct swlib_setting *settings;