odhcp6c: correctly extend prefix from RAs

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46781
This commit is contained in:
Steven Barth 2015-09-04 06:29:36 +00:00
parent f96bf30dc6
commit 4b7ba93083
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=odhcp6c PKG_NAME:=odhcp6c
PKG_VERSION:=2015-09-03 PKG_VERSION:=2015-09-04
PKG_RELEASE=$(PKG_SOURCE_VERSION) PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2

View file

@ -80,7 +80,7 @@ setup_interface () {
# RFC 7278 # RFC 7278
if [ "$mask" -eq 64 -a -z "$PREFIXES" -a -n "$EXTENDPREFIX" ]; then if [ "$mask" -eq 64 -a -z "$PREFIXES" -a -n "$EXTENDPREFIX" ]; then
proto_add_ipv6_prefix "$entry" proto_add_ipv6_prefix "$addr/$mask,$preferred,$valid"
fi fi
done done