From d8cc9e8101cdbab43acef6541fb6e773a918b962 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 15 Nov 2011 17:57:24 +0000 Subject: [PATCH] [backfire/packages] wide-dhcpv6: backport r29157 SVN-Revision: 29160 --- ipv6/wide-dhcpv6/Makefile | 2 +- ipv6/wide-dhcpv6/files/dhcp6c.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ipv6/wide-dhcpv6/Makefile b/ipv6/wide-dhcpv6/Makefile index 6e3a3e4332..743e52d572 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 405e9c6345..de76a71f3d 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 -- 2.30.2