summaryrefslogtreecommitdiffstats
path: root/package/network/ipv6
diff options
context:
space:
mode:
authorcyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-15 13:08:10 +0000
committercyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-15 13:08:10 +0000
commit3b4ac5a6df082976d6c244a659715ce68400eb34 (patch)
tree72156aaaa7cb739f3bf654e2aaa0ff5f34898c28 /package/network/ipv6
parent41b3143aa88df745adcdf979208d99d98bd79065 (diff)
6to4: add support for native IPv6 prefix handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35172 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/ipv6')
-rw-r--r--package/network/ipv6/6to4/Makefile2
-rwxr-xr-xpackage/network/ipv6/6to4/files/6to4.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/package/network/ipv6/6to4/Makefile b/package/network/ipv6/6to4/Makefile
index f29571d86..72906fba5 100644
--- a/package/network/ipv6/6to4/Makefile
+++ b/package/network/ipv6/6to4/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=6to4
-PKG_VERSION:=11
+PKG_VERSION:=12
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
diff --git a/package/network/ipv6/6to4/files/6to4.sh b/package/network/ipv6/6to4/files/6to4.sh
index 145f78a23..6f2fbd840 100755
--- a/package/network/ipv6/6to4/files/6to4.sh
+++ b/package/network/ipv6/6to4/files/6to4.sh
@@ -63,6 +63,7 @@ proto_6to4_setup() {
proto_init_update "$link" 1
proto_add_ipv6_address "$local6" 16
+ proto_add_ipv6_prefix "$prefix6::/48"
proto_add_ipv6_route "::" 0 "::192.88.99.1"
proto_add_tunnel