net: lib: dhcpv4: Skip leftover hostname or domain name bytes
When reading and printing hosname or domain name from DHCP options, we need
to skip the leftover bytes that do not fit into the provided buffers.
Signed-off-by:
Pieter De Gendt <pieter.degendt@basalte.be>
Loading
Please sign in to comment