aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/vti/files
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2019-02-09 20:59:55 +0100
committerHans Dedecker <dedeckeh@gmail.com>2019-02-09 21:04:36 +0100
commit630a3639360476b9aaeadc39f8e7636d11c8869b (patch)
treea5391ba5039968449881d4bd00f7822524e47e7e /package/network/config/vti/files
parent7f33f3d7126f543e2d03276aa3508edbfed80a73 (diff)
downloadupstream-630a3639360476b9aaeadc39f8e7636d11c8869b.tar.gz
upstream-630a3639360476b9aaeadc39f8e7636d11c8869b.tar.bz2
upstream-630a3639360476b9aaeadc39f8e7636d11c8869b.zip
vti: remove setting default firewall zone to wan
Same reasoning as in bdedb798150a58ad7ce3c4741f2f31df97e84c3f; don't set default firewall zone to wan as the firewall zone for the vti interface can be configured in the firewall config or it makes it impossible not to specify a firewall zone for the vti interface. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/network/config/vti/files')
-rwxr-xr-xpackage/network/config/vti/files/vti.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/network/config/vti/files/vti.sh b/package/network/config/vti/files/vti.sh
index 0443800a0c..ebfd9d41e1 100755
--- a/package/network/config/vti/files/vti.sh
+++ b/package/network/config/vti/files/vti.sh
@@ -16,8 +16,6 @@ vti_generic_setup() {
local mtu zone ikey
json_get_vars mtu zone ikey okey
- [ -z "$zone" ] && zone="wan"
-
proto_init_update "$link" 1
proto_add_tunnel