Skip to content
Commit 7703c08e authored by Nick Owens's avatar Nick Owens Committed by Zbigniew Jędrzejewski-Szmek
Browse files

sd-dhcp-lease: fix handling of multiple routers

currently if a dhcp server sends more than one router, sd-dhcp-lease
does not copy the ip because it assumes it will only ever be 4 bytes. a
dhcp server could send more than one ip in the router list, so we should
copy the first one and ignore the rest of the bytes.

(cherry picked from commit a0518527)
parent 5e345bb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment