projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dnsmasq: Fix splitting hostid for DHCPv6 static leases
[openwrt/staging/dedeckeh.git]
/
package
/
network
/
services
/
dnsmasq
/
files
/
dnsmasq.init
diff --git
a/package/network/services/dnsmasq/files/dnsmasq.init
b/package/network/services/dnsmasq/files/dnsmasq.init
index 845cf1b5e338e059b8944677a4441ac24fd149a1..eebf5c76c89479f4a9653059110432a4faa748d4 100644
(file)
--- a/
package/network/services/dnsmasq/files/dnsmasq.init
+++ b/
package/network/services/dnsmasq/files/dnsmasq.init
@@
-35,7
+35,7
@@
hex_to_hostid() {
export "$var=$(
printf "%0x:%0x" \
$(((0x$hex >> 16) % 65536)) \
- $(( 0x$hex %
25
6))
+ $(( 0x$hex %
6553
6))
)"
return 0