Skip to content
Commit 99a28937 authored by Pieter De Gendt's avatar Pieter De Gendt Committed by Benjamin Cabé
Browse files

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: default avatarPieter De Gendt <pieter.degendt@basalte.be>
parent 836cf37d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment