-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fix ESP32 IP_EVENT_ETH_GOT_IP event data handling in ESP32 platform #40660
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
base: v1.4-branch
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request correctly fixes an issue where incorrect IP information was logged for Ethernet interfaces. By adding handling for the IP_EVENT_ETH_GOT_IP
event, the event data is now properly copied, resolving the bug. I've added one suggestion to combine the new case with an existing one to reduce code duplication, in line with the project's style guide.
PR #40660: Size comparison from 2acb65b to 17b08df Full report (88 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Summary
Fix IP_EVENT_ETH_GOT_IP event data handling in ESP32 platform
Problem
When Ethernet interface gets an IP address, the log shows incorrect IP information: