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

icmp_echo func:cmd_ping_on_ping_end() get wrong ipv6 address (IDFGH-13264) #14197

Closed
3 tasks done
gl-liuqingbo opened this issue Jul 16, 2024 · 4 comments
Closed
3 tasks done
Assignees
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally

Comments

@gl-liuqingbo
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF 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

  1. I use my router to enable ipv6,then conncet esp32 by eth way.
  2. esp32 run esp-idf/examples/protocols/icmp_echo
  3. ping ipv6 address
  4. Log display another ipv6 address, I'm confused.
    Here's log message:
    图片
@espressif-bot espressif-bot added the Status: Opened Issue is new label Jul 16, 2024
@github-actions github-actions bot changed the title icmp_echo func:cmd_ping_on_ping_end() get wrong ipv6 address icmp_echo func:cmd_ping_on_ping_end() get wrong ipv6 address (IDFGH-13264) Jul 16, 2024
@espressif-bot espressif-bot added Status: In Progress Work is in progress Status: Reviewing Issue is being reviewed and removed Status: Opened Issue is new Status: In Progress Work is in progress labels Jul 23, 2024
@espressif-abhikroy
Copy link
Collaborator

@gl-liuqingbo Thanks for reporting the issue.
It's happening because of an issue in ping_sock.c.
The periodic Router Advertisement packet sent by your router was overwriting the destination address.
This can be verified as the updated address is EUI-64 link local address of your router.

I am working on the fix and it will be available soon.

@gl-liuqingbo
Copy link
Author

@espressif-abhikroy Thank you for your help, I will wait for the follow-up update

@AxelLin
Copy link
Contributor

AxelLin commented Aug 12, 2024

I am working on the fix and it will be available soon.

@espressif-abhikroy
I still cannot find this fix. Please also fix it in stable releases.

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: NA Issue resolution is unavailable and removed Status: Reviewing Issue is being reviewed labels Aug 16, 2024
@espressif-abhikroy
Copy link
Collaborator

The fix has been applied and is now available on the master branch. You can refer to the commit with the hash 53ba6e9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

5 participants