mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-19 23:45:28 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user