Skip to content
Commit b60ae6fb authored by Charles Hardin's avatar Charles Hardin Committed by Benjamin Cabé
Browse files

net: dns: only add periods between labels and not on the first label



When resolving SRV records - the label might not be compressed so
the first entry into the net buf is the start of the name and a
period could end up at the start - ie. ".example.local" so only add
a period when the buffer is not empty.

Signed-off-by: default avatarCharles Hardin <ckhardin@gmail.com>
parent ece1ed56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment