6rd / ds-lite: make the firewall-zones of nested-protocols configurable
[openwrt.git] / package / network / config / netifd / files / lib / netifd / dhcp.script
index c59784036264cc5efadfadd619234974c0d86217..948c3cd665ecc77e2c85613cb7771a2ad92b8990 100755 (executable)
@@ -54,6 +54,7 @@ setup_interface () {
                json_add_int ip6prefixlen "$ip6rdprefixlen"
                json_add_string tunlink "$INTERFACE"
                [ -n "$IFACE6RD_DELEGATE" ] && json_add_boolean delegate "$IFACE6RD_DELEGATE"
+               [ -n "$ZONE6RD" ] && json_add_string zone "$ZONE6RD"
                json_close_object
 
                ubus call network add_dynamic "$(json_dump)"