projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[backfire/packages] wide-dhcpv6: backport r29157
[openwrt/svn-archive/archive.git]
/
ipv6
/
wide-dhcpv6
/
files
/
dhcp6c.init
diff --git
a/ipv6/wide-dhcpv6/files/dhcp6c.init
b/ipv6/wide-dhcpv6/files/dhcp6c.init
index 405e9c6345f12e67ca1718c086cfdd20ee20d5b1..de76a71f3dbaad6ddf69cd63d4c177cacf71876c 100644
(file)
--- 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