aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/odhcp6c
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-09-04 06:29:36 +0000
committerSteven Barth <cyrus@openwrt.org>2015-09-04 06:29:36 +0000
commit4b7ba93083bdf1c47884d4a0d8348e14d6d3a271 (patch)
tree0fce7510e1b03e41fcf53b25cd90353b80bf9da6 /package/network/ipv6/odhcp6c
parentf96bf30dc616f90de30e312af44c69b66268b830 (diff)
downloadupstream-4b7ba93083bdf1c47884d4a0d8348e14d6d3a271.tar.gz
upstream-4b7ba93083bdf1c47884d4a0d8348e14d6d3a271.tar.bz2
upstream-4b7ba93083bdf1c47884d4a0d8348e14d6d3a271.zip
odhcp6c: correctly extend prefix from RAs
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46781
Diffstat (limited to 'package/network/ipv6/odhcp6c')
-rw-r--r--package/network/ipv6/odhcp6c/Makefile2
-rwxr-xr-xpackage/network/ipv6/odhcp6c/files/dhcpv6.script2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/network/ipv6/odhcp6c/Makefile b/package/network/ipv6/odhcp6c/Makefile
index 4968631d6f..7c88d59f5c 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:=2015-09-03
+PKG_VERSION:=2015-09-04
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 3177eefbf7..c307d09580 100755
--- a/package/network/ipv6/odhcp6c/files/dhcpv6.script
+++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script
@@ -80,7 +80,7 @@ setup_interface () {
# RFC 7278
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
done