aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2014-02-12 08:54:43 +0000
committerSteven Barth <cyrus@openwrt.org>2014-02-12 08:54:43 +0000
commit3194834c55c3f4753565664d98adf0c57e9e5f5f (patch)
treec3515d8fe41bbe20375f7381f074a9bf06837fcd
parentef5c3bbb5f966864be63cbe5007578c6739c9546 (diff)
downloadupstream-3194834c55c3f4753565664d98adf0c57e9e5f5f.tar.gz
upstream-3194834c55c3f4753565664d98adf0c57e9e5f5f.tar.bz2
upstream-3194834c55c3f4753565664d98adf0c57e9e5f5f.zip
odhcp6c: remove source-restriction from local routes again (broke relaying)
SVN-Revision: 39575
-rw-r--r--package/network/ipv6/odhcp6c/Makefile2
-rwxr-xr-xpackage/network/ipv6/odhcp6c/files/dhcpv6.script3
2 files changed, 2 insertions, 3 deletions
diff --git a/package/network/ipv6/odhcp6c/Makefile b/package/network/ipv6/odhcp6c/Makefile
index 81982aa74b..157c202f67 100644
--- a/package/network/ipv6/odhcp6c/Makefile
+++ b/package/network/ipv6/odhcp6c/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=odhcp6c
-PKG_VERSION:=2014-02-06
+PKG_VERSION:=2014-02-12
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.script b/package/network/ipv6/odhcp6c/files/dhcpv6.script
index 929ab4eed2..13732df086 100755
--- a/package/network/ipv6/odhcp6c/files/dhcpv6.script
+++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script
@@ -65,8 +65,7 @@ setup_interface () {
local metric="${entry%%,*}"
if [ -z "$SOURCE_ROUTING" -o -z "$gw" ]; then
- proto_add_ipv6_route "$addr" "$mask" "$gw" "$metric" "$valid" "::/128"
- proto_add_ipv6_route "$addr" "$mask" "$gw" "$metric" "$valid" "$addr/$mask"
+ proto_add_ipv6_route "$addr" "$mask" "$gw" "$metric" "$valid"
else
proto_add_ipv6_route "$addr" "$mask" "$gw" "$metric" "$valid" "::/128"
for prefix in $PREFIXES $ADDRESSES; do