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> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| dhcpv4_internal.h | ||
| dhcpv4_server.c | ||
| dhcpv4.c | ||
| Kconfig | ||