aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-01-15 13:08:10 +0000
committerSteven Barth <steven@midlink.org>2013-01-15 13:08:10 +0000
commitcbfa80a7d327960ef646d1c612c883fd50330dab (patch)
tree72156aaaa7cb739f3bf654e2aaa0ff5f34898c28
parent80abeea6ad2542fd60d613d8f00fcfce30d36cf3 (diff)
downloadupstream-cbfa80a7d327960ef646d1c612c883fd50330dab.tar.gz
upstream-cbfa80a7d327960ef646d1c612c883fd50330dab.tar.bz2
upstream-cbfa80a7d327960ef646d1c612c883fd50330dab.zip
6to4: add support for native IPv6 prefix handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35172 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 f29571d86c..72906fba5b 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 145f78a239..6f2fbd840c 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