dnsmasq: Fix splitting hostid for DHCPv6 static leases
authorArjen de Korte <build+lede@de-korte.org>
Mon, 5 Dec 2016 11:53:16 +0000 (12:53 +0100)
committerJohn Crispin <john@phrozen.org>
Tue, 6 Dec 2016 06:55:07 +0000 (07:55 +0100)
commit4fbd3aa278903bfc74341aafaeef86ff98e82e09
treea1d533220c026f838c63048338f70e73a4465cce
parent0422f8bcec579ef38d86bc2d327f6895b5ed1a1f
dnsmasq: Fix splitting hostid for DHCPv6 static leases

Correct splitting the 32-bit 'hostid' value to two 16-bit hexadecimal
values. Previously, the lower 16-bit value was truncated to an 8-bit
value, which would result in hostid values 100 and 200 both to be set
to [::0:0] instead of [::0:100] and [::0:200] respectively.

Signed-off-by: Arjen de Korte <build+lede@de-korte.org>
package/network/services/dnsmasq/files/dnsmasq.init