You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the documentation for esp-protocols components and the issue is not addressed there.
I have updated my esp-protocols branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
When i enable ppp with 4g module, run ifconfig will panic. I found panic's place.
version: 1.0.0
staticvoidprint_iface_details(esp_netif_t*esp_netif)
{
...
structnetif*lwip_netif=esp_netif_get_netif_impl(esp_netif); // !!! return NULLESP_LOGI(TAG, "Interface Number: %d", lwip_netif->num); // PANIC at here
...
ESP_LOGI(TAG, "Link Status: %s\n", netif_is_link_up(lwip_netif) ? "UP" : "DOWN"); // Here will also lead to panic
}
If it’s simply not going to let it panic, the ppp netif doesn’t support, that feels a big flaw!!!
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
console_cmd_ifconfig: not supporting the ppp netif and will panic
console_cmd_ifconfig: not supporting the ppp netif and will panic (IDFGH-11607)
Dec 5, 2023
@dapeng0512, thank you for bringing this issue to our attention. This component has not been tested on the PPP interface yet. I will address and fix it in the upcoming release soon.
Answers checklist.
General issue report
When i enable ppp with 4g module, run
ifconfig
will panic. I found panic's place.version: 1.0.0
If it’s simply not going to let it panic, the ppp netif doesn’t support, that feels a big flaw!!!
The text was updated successfully, but these errors were encountered: