summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-05-31 13:23:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-05-31 13:23:23 +0000
commit3bb397c99700b4645445cc0cc0955078a7b35d02 (patch)
tree0cbc20f36656642a195911371324bbc0dec62f42 /package
parentbf582fbb7b338c2e1e850da580921c781e094312 (diff)
downloadmtk-20170518-3bb397c99700b4645445cc0cc0955078a7b35d02.zip
mtk-20170518-3bb397c99700b4645445cc0cc0955078a7b35d02.tar.gz
mtk-20170518-3bb397c99700b4645445cc0cc0955078a7b35d02.tar.bz2
firewall3: use list notation for default zone network config to avoid "uci add_list" coercing the value wrongly
SVN-Revision: 36806
Diffstat (limited to 'package')
-rw-r--r--package/network/config/firewall3/files/firewall.config5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/network/config/firewall3/files/firewall.config b/package/network/config/firewall3/files/firewall.config
index 59a45b2..acfb5e5 100644
--- a/package/network/config/firewall3/files/firewall.config
+++ b/package/network/config/firewall3/files/firewall.config
@@ -8,14 +8,15 @@ config defaults
config zone
option name lan
- option network 'lan'
+ list network 'lan'
option input ACCEPT
option output ACCEPT
option forward REJECT
config zone
option name wan
- option network 'wan wan6'
+ list network 'wan'
+ list network 'wan6'
option input REJECT
option output ACCEPT
option forward REJECT