esp_netif: update default DHCP IP addresses to be in line with old interface, added loopback implementation, explicit esp-netif init, sanity checks for parameters added

This commit is contained in:
David Cermak
2019-09-02 11:22:09 +02:00
parent b834c99148
commit ba13275c6b
21 changed files with 887 additions and 352 deletions
@@ -212,7 +212,7 @@ static int create_multicast_ipv6_socket(void)
#endif // LISTEN_ALL_IF
// search for netif index
netif_index = esp_netif_get_netif_index(EXAMPLE_INTERFACE);
netif_index = esp_netif_get_netif_impl_index(EXAMPLE_INTERFACE);
if(netif_index < 0) {
ESP_LOGE(V6TAG, "Failed to get netif index");
goto err;