Skip to content
Snippets Groups Projects
Commit 4fbd3aa2 authored by Arjen de Korte's avatar Arjen de Korte Committed by John Crispin
Browse files

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: default avatarArjen de Korte <build+lede@de-korte.org>
parent 0422f8bc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment