diff options
author | Steven Barth <cyrus@openwrt.org> | 2014-04-14 10:11:54 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2014-04-14 10:11:54 +0000 |
commit | ba6689b064a745dfc07424513d6b283d6f625cf8 (patch) | |
tree | 13c6247d1c38840a2d4d3da6b343edefdebe3b08 /package/network/ipv6/ds-lite | |
parent | daf69ee1dac39919801ddea7d6639c4e8f008a1c (diff) | |
download | upstream-ba6689b064a745dfc07424513d6b283d6f625cf8.tar.gz upstream-ba6689b064a745dfc07424513d6b283d6f625cf8.tar.bz2 upstream-ba6689b064a745dfc07424513d6b283d6f625cf8.zip |
ds-lite: disable NAT according to RFC 7084
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 40511
Diffstat (limited to 'package/network/ipv6/ds-lite')
-rw-r--r-- | package/network/ipv6/ds-lite/Makefile | 2 | ||||
-rwxr-xr-x | package/network/ipv6/ds-lite/files/dslite.sh | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/package/network/ipv6/ds-lite/Makefile b/package/network/ipv6/ds-lite/Makefile index 61c57c092c..fb6599dc63 100644 --- a/package/network/ipv6/ds-lite/Makefile +++ b/package/network/ipv6/ds-lite/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ds-lite -PKG_VERSION:=3 +PKG_VERSION:=4 PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk diff --git a/package/network/ipv6/ds-lite/files/dslite.sh b/package/network/ipv6/ds-lite/files/dslite.sh index 670f93cd6e..a526c91d31 100755 --- a/package/network/ipv6/ds-lite/files/dslite.sh +++ b/package/network/ipv6/ds-lite/files/dslite.sh @@ -56,6 +56,13 @@ proto_dslite_setup() { proto_add_data [ -n "$zone" ] && json_add_string zone "$zone" + + json_add_array firewall + json_add_object "" + json_add_string type nat + json_add_string target ACCEPT + json_close_object + json_close_array proto_close_data proto_send_update "$cfg" |