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

net: stats: DHCP packets are not counted as part of UDP counters #53419

Closed
krish2718 opened this issue Jan 2, 2023 · 0 comments · Fixed by #53659
Closed

net: stats: DHCP packets are not counted as part of UDP counters #53419

krish2718 opened this issue Jan 2, 2023 · 0 comments · Fixed by #53659
Assignees
Labels
area: Networking area: Shell Shell subsystem bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@krish2718
Copy link
Collaborator

krish2718 commented Jan 2, 2023

net stats command shows zero UDP stats despite DHCPv4 client is actively sending and receiving packets in the background. This is because DHCPv4 client doesn't use a net context during net_conn_register and UDP/TCP stats are only incremented in the net_context_send_cb.

This is quite handy debugging DHCP issues.

@rlubos

@krish2718 krish2718 added the bug The issue is a bug, or the PR is fixing a bug label Jan 2, 2023
@stephanosio stephanosio added priority: low Low impact/importance bug area: Shell Shell subsystem labels Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking area: Shell Shell subsystem bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants