[backfire/packages] wide-dhcpv6: backport r29157
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 15 Nov 2011 17:57:24 +0000 (17:57 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 15 Nov 2011 17:57:24 +0000 (17:57 +0000)
SVN-Revision: 29160

ipv6/wide-dhcpv6/Makefile
ipv6/wide-dhcpv6/files/dhcp6c.init

index 6e3a3e4332fdc57c9d67be23b210f3eca1d86e37..743e52d572e02455e4c4f5bf54266895d5193c05 100644 (file)
@@ -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)
index 405e9c6345f12e67ca1718c086cfdd20ee20d5b1..de76a71f3dbaad6ddf69cd63d4c177cacf71876c 100644 (file)
@@ -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