esp-idf/components/esp_netif/lwip
David Cermak 9f17f586f4 esp_netif: Set default netif with lwip_netif
Make use of lwip_netif pointer for setting the default interface in lwip,
since the  is a generic pointer used in I/O functions wheras the former is always the  type.
More importantly the netif_handle could be set to another context ptr
used in I/O functions, as as for the SLIP netif.

This change fixes the issue of incorrect settings of a default interface
if any SLIP netif is involved.

Closes https://github.com/espressif/esp-idf/issues/7246
2021-08-17 19:10:49 +08:00
..
esp_netif_lwip.c
esp_netif_lwip_defaults.c
esp_netif_lwip_internal.h
esp_netif_lwip_ppp.c
esp_netif_lwip_ppp.h
esp_netif_lwip_slip.c
esp_netif_lwip_slip.h
esp_netif_sta_list.c