zephyr/subsys/net/lib/dhcpv4
Robert Lubos d0e5696a0e net: dhcp: Avoid source port validation in replies
There's nothing in RFC 2131 or RFC 8415 that would mandate the DHCP
server to reply with a source port set to the IANA assigned one, and
some servers seem to send responses with some arbitrary source port set.

Therefore, make Zephyr's DHCP client implementation more permissive,
accepting packets with a source port set to a different port than the
IANA assigned server port.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-02-12 16:03:57 +01:00
..
CMakeLists.txt
dhcpv4_internal.h
dhcpv4_server.c net: dhcpv4_server: skip the DNS option if not configured 2025-01-29 04:17:36 +01:00
dhcpv4.c net: dhcp: Avoid source port validation in replies 2025-02-12 16:03:57 +01:00
Kconfig net: dhcpv4_server: allow skipping the router option 2025-01-29 04:17:36 +01:00