Function esp_idf_svc::sys::esp_netif_set_default_netif
source ยท pub unsafe extern "C" fn esp_netif_set_default_netif(
esp_netif: *mut esp_netif_obj,
) -> i32
Expand description
@brief Manual configuration of the default netif
This API overrides the automatic configuration of the default interface based on the route_prio If the selected netif is set default using this API, no other interface could be set-default disregarding its route_prio number (unless the selected netif gets destroyed)
@param[in] esp_netif Handle to esp-netif instance @return ESP_OK on success