aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2013-02-01 13:38:47 +0000
committerSteven Barth <cyrus@openwrt.org>2013-02-01 13:38:47 +0000
commite2193a69c83506ceaddefb2fd3f175059e1b5bcc (patch)
tree38e34a020d9185e177d13db4e9f41e9093b19da8
parent6a43437908e507bdca1cdf8c0534a1f88dd1e6e4 (diff)
downloadupstream-e2193a69c83506ceaddefb2fd3f175059e1b5bcc.tar.gz
upstream-e2193a69c83506ceaddefb2fd3f175059e1b5bcc.tar.bz2
upstream-e2193a69c83506ceaddefb2fd3f175059e1b5bcc.zip
odhcp6c: allow IPv6-config via SLAAC-only if no prefix is requested
SVN-Revision: 35421
-rw-r--r--package/network/ipv6/odhcp6c/Makefile4
-rwxr-xr-xpackage/network/ipv6/odhcp6c/files/dhcpv6.sh8
2 files changed, 6 insertions, 6 deletions
diff --git a/package/network/ipv6/odhcp6c/Makefile b/package/network/ipv6/odhcp6c/Makefile
index 7b616c9c91..30ec89e43a 100644
--- a/package/network/ipv6/odhcp6c/Makefile
+++ b/package/network/ipv6/odhcp6c/Makefile
@@ -8,14 +8,14 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=odhcp6c
-PKG_VERSION:=2013-02-01
+PKG_VERSION:=2013-02-01.1
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=git://github.com/sbyx/odhcp6c.git
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=7b3e29a4ff20f1b1e91fa65b5a0631462dbee06d
+PKG_SOURCE_VERSION:=6016539b9b73f3dc45b3df92554fca1b5d6431b7
PKG_MAINTAINER:=Steven Barth <steven@midlink.org>
include $(INCLUDE_DIR)/package.mk
diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.sh b/package/network/ipv6/odhcp6c/files/dhcpv6.sh
index 99867cd99d..4bd3a67ed9 100755
--- a/package/network/ipv6/odhcp6c/files/dhcpv6.sh
+++ b/package/network/ipv6/odhcp6c/files/dhcpv6.sh
@@ -9,15 +9,15 @@ proto_dhcpv6_init_config() {
proto_config_add_string "reqprefix"
proto_config_add_string "clientid"
proto_config_add_string "reqopts"
- proto_config_add_string "allow_slaaconly"
+ proto_config_add_string "noslaaconly"
}
proto_dhcpv6_setup() {
local config="$1"
local iface="$2"
- local reqaddress reqprefix clientid reqopts allow_slaaconly
- json_get_vars reqaddress reqprefix clientid reqopts allow_slaaconly
+ local reqaddress reqprefix clientid reqopts noslaaconly
+ json_get_vars reqaddress reqprefix clientid reqopts noslaaconly
# Configure
@@ -29,7 +29,7 @@ proto_dhcpv6_setup() {
[ -n "$clientid" ] && append opts "-c$clientid"
- [ "$allow_slaaconly" = "1" ] && append opts "-S"
+ [ "$noslaaconly" = "1" ] && append opts "-S"
for opt in $reqopts; do
append opts "-r$opt"