odhcp6c: remove source-restriction from local routes again (broke relaying)
authorSteven Barth <cyrus@openwrt.org>
Wed, 12 Feb 2014 08:54:43 +0000 (08:54 +0000)
committerSteven Barth <cyrus@openwrt.org>
Wed, 12 Feb 2014 08:54:43 +0000 (08:54 +0000)
SVN-Revision: 39575

package/network/ipv6/odhcp6c/Makefile
package/network/ipv6/odhcp6c/files/dhcpv6.script

index 81982aa74bc597d2f2ac934ca5251ff880b60952..157c202f67063be5ba3a95027c2d1e2fabcd64ac 100644 (file)
@@ -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
index 929ab4eed2e6ad6189ec9a90e5feb0f18d516c54..13732df0864c649cf765f39b936592bd8e5bc678 100755 (executable)
@@ -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