odhcp6c: remove source-restriction from local routes again (broke relaying)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39575 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Steven Barth
2014-02-12 08:54:43 +00:00
parent d11b0ffc19
commit 1cb05cbff9
2 changed files with 2 additions and 3 deletions

View 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

View File

@@ -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