odhcp6c: correctly extend prefix from RAs
authorSteven Barth <cyrus@openwrt.org>
Fri, 4 Sep 2015 06:29:36 +0000 (06:29 +0000)
committerSteven Barth <cyrus@openwrt.org>
Fri, 4 Sep 2015 06:29:36 +0000 (06:29 +0000)
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46781

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

index 4968631d6f40f365a554ba1887c834b35f67a682..7c88d59f5ca678adf661a53b9602e2a7fe384f44 100644 (file)
@@ -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
index 3177eefbf7773389e30518dc40d4eeaf8f7fb2d7..c307d095804a94e1486451f7c2433c17e6939eb6 100755 (executable)
@@ -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