zephyr/subsys/net/lib/dhcpv4
Fabio Baltieri e4752e5e11 net: dhcpv4_server: skip the DNS option if not configured
Check if NET_DHCPV4_SERVER_OPTION_DNS_ADDRESS is set before using it to
set the DNS option in DHCP responses. This avoids sending a client a DNS
server of 0.0.0.0.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-01-29 04:17:36 +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: dhcpv4: update DNS address assignment to be optional 2025-01-02 16:03:25 +01:00
Kconfig net: dhcpv4_server: allow skipping the router option 2025-01-29 04:17:36 +01:00