vti: remove setting default firewall zone to wan
[openwrt/openwrt.git] / package / network / config / vti / files / vti.sh
index 0443800a0c8f06ee11a44bc719931f2295ccbf47..ebfd9d41e1466542a079f4c4d7adf26f3395e636 100755 (executable)
@@ -16,8 +16,6 @@ vti_generic_setup() {
        local mtu zone ikey
        json_get_vars mtu zone ikey okey
 
        local mtu zone ikey
        json_get_vars mtu zone ikey okey
 
-       [ -z "$zone" ] && zone="wan"
-
        proto_init_update "$link" 1
 
        proto_add_tunnel
        proto_init_update "$link" 1
 
        proto_add_tunnel