aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/odhcp6c/files/dhcpv6.script
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2014-03-26 10:12:49 +0000
committerSteven Barth <cyrus@openwrt.org>2014-03-26 10:12:49 +0000
commit0555ebf66d415045b176181cde25ba2ed063c09d (patch)
tree7e4c9b3cc2e88b27a8c4dfb6d1877d923e7d16e1 /package/network/ipv6/odhcp6c/files/dhcpv6.script
parent2a893c205727686089887358498248ea21a91106 (diff)
downloadupstream-0555ebf66d415045b176181cde25ba2ed063c09d.tar.gz
upstream-0555ebf66d415045b176181cde25ba2ed063c09d.tar.bz2
upstream-0555ebf66d415045b176181cde25ba2ed063c09d.zip
6rd / ds-lite: make the firewall-zones of nested-protocols configurable
SVN-Revision: 40020
Diffstat (limited to 'package/network/ipv6/odhcp6c/files/dhcpv6.script')
-rwxr-xr-xpackage/network/ipv6/odhcp6c/files/dhcpv6.script1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.script b/package/network/ipv6/odhcp6c/files/dhcpv6.script
index 563c9ada0d..851e94be91 100755
--- a/package/network/ipv6/odhcp6c/files/dhcpv6.script
+++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script
@@ -84,6 +84,7 @@ setup_interface () {
json_add_string proto "dslite"
json_add_string peeraddr "$AFTR_IP"
json_add_string tunlink "$INTERFACE"
+ [ -n "$ZONE_DSLITE" ] && json_add_string zone "$ZONE_DSLITE"
[ -n "$IFACE_DSLITE_DELEGATE" ] && json_add_boolean delegate "$IFACE_DSLITE_DELEGATE"
json_close_object
ubus call network add_dynamic "$(json_dump)"