Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp-netif: esp_netif_is_netif_up should also check netif_is_link_up (IDFGH-3171) #5183

Closed
wants to merge 1 commit into from

Conversation

AxelLin
Copy link
Contributor

@AxelLin AxelLin commented Apr 25, 2020

Otherwise esp_netif_update_default_netif_lwip() may select wrong interface
as default route. e.g. calling esp_netif_is_netif_up() for ppp interface before
dialing up returns true without this patch then it's selected as the default
route due to higher priority.

Signed-off-by: Axel Lin axel.lin@gmail.com

Otherwise esp_netif_update_default_netif_lwip() may select wrong interface
as default route. e.g. calling esp_netif_is_netif_up() for ppp interface before
dialing up returns true without this patch then it's selected as the default
route due to higher priority.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
@github-actions github-actions bot changed the title esp-netif: esp_netif_is_netif_up should also check netif_is_link_up esp-netif: esp_netif_is_netif_up should also check netif_is_link_up (IDFGH-3171) Apr 25, 2020
@Alvin1Zhang
Copy link
Collaborator

@AxelLin Thanks for your contribution. @david-cermak

@AxelLin AxelLin closed this May 6, 2020
@AxelLin AxelLin deleted the esp_netif_is_netif_up_fix branch November 23, 2020 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants