summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich2011-11-15 17:57:24 +0000
committerJo-Philipp Wich2011-11-15 17:57:24 +0000
commita52afd155c48f63e1390cb2b9a9f38ae9d9fd39d (patch)
tree942b0260977208ffd5c2e2c80c986c954772af09
parent1bf12dd75cc0a3aad7cf1ee330512c34ff4623fc (diff)
downloadpackages-a52afd155c48f63e1390cb2b9a9f38ae9d9fd39d.tar.gz
wide-dhcpv6: backport r29157
SVN-Revision: 29160
-rw-r--r--ipv6/wide-dhcpv6/Makefile2
-rw-r--r--ipv6/wide-dhcpv6/files/dhcp6c.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/ipv6/wide-dhcpv6/Makefile b/ipv6/wide-dhcpv6/Makefile
index 6e3a3e433..743e52d57 100644
--- a/ipv6/wide-dhcpv6/Makefile
+++ b/ipv6/wide-dhcpv6/Makefile
@@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=wide-dhcpv6
PKG_VERSION:=20080615
-PKG_RELEASE:=6
+PKG_RELEASE:=6.1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
diff --git a/ipv6/wide-dhcpv6/files/dhcp6c.init b/ipv6/wide-dhcpv6/files/dhcp6c.init
index 405e9c634..de76a71f3 100644
--- a/ipv6/wide-dhcpv6/files/dhcp6c.init
+++ b/ipv6/wide-dhcpv6/files/dhcp6c.init
@@ -36,7 +36,7 @@ dhcp6c_write_duid() {
local oIFS="$IFS"; IFS=":"; set -- $mac; IFS="$oIFS"
# low endian
- if [ "$(printf \\1 | hexdump -n1 -ve '8/2 "%04x"')" = "0001" ]; then
+ if [ "$(printf \\1 | hexdump -n1 -ve '8/2 "" "%04x" ""')" = "0001" ]; then
printf \\x0a\\x00
# big endian