include $(TOPDIR)/rules.mk
PKG_NAME:=odhcp6c
-PKG_VERSION:=2013-02-12
+PKG_VERSION:=2013-03-08
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:=31ce2ea9f57322d526daf266c7fca4bd407297cb
+PKG_SOURCE_VERSION:=e8b07f018cbdf8f2a08f93af46904e7ffb9eb123
PKG_MAINTAINER:=Steven Barth <steven@midlink.org>
include $(INCLUDE_DIR)/package.mk
proto_config_add_string "clientid"
proto_config_add_string "reqopts"
proto_config_add_string "noslaaconly"
+ proto_config_add_string "norelease"
proto_config_add_string "ip6prefix"
}
local config="$1"
local iface="$2"
- local reqaddress reqprefix clientid reqopts noslaaconly ip6prefix
- json_get_vars reqaddress reqprefix clientid reqopts noslaaconly ip6prefix
+ local reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix
+ json_get_vars reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix
# Configure
[ "$noslaaconly" = "1" ] && append opts "-S"
+ [ "$norelease" = "1" ] && append opts "-k"
+
for opt in $reqopts; do
append opts "-r$opt"
done