mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
d16c422b11
esp_netif_set_dns_info() was available only for standard interfaces, not for Point to point types (PPP, SLIP), but it should be normally supported. Moreover DNS servers are global in lwip, so it doesn't really depend on type of the interface. Also added some minor fixes to the esp_netif_get_dns_info() to allow for NULL parameters (as it's a public API) and hardcode the IPv4 type in case of DHCP server capable interface. Updated logs and added error checks to the original API, before we launch the lwIP counterpart. Closes https://github.com/espressif/esp-idf/issues/8648 |
||
---|---|---|
.. | ||
netif | ||
esp_netif_br_glue.c | ||
esp_netif_lwip_defaults.c | ||
esp_netif_lwip_internal.h | ||
esp_netif_lwip_ppp.c | ||
esp_netif_lwip_ppp.h | ||
esp_netif_lwip.c |