Actually set Zephyr's default DNS server based on the corresponding DHCP option received. This makes DHCP-based setup Zephyr complete: now it's possible to connect Zephyr DHCP-enabled system to a typical router, and it will fully auto-configure to access Internet. This initial implementation uses just first DNS server address as returned in DHCP message, it may need to be extended in the future based on the need. Signed-off-by: John Andersen <john.s.andersen@intel.com> Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org> |
||
---|---|---|
.. | ||
ip | ||
lib | ||
buf.c | ||
CMakeLists.txt | ||
hostname.c | ||
Kconfig | ||
Kconfig.hostname | ||
TODO |