net: stats: DHCP packets are not counted as part of UDP counters #53419
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
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 anet context
duringnet_conn_register
and UDP/TCP stats are only incremented in thenet_context_send_cb
.This is quite handy debugging DHCP issues.
@rlubos
The text was updated successfully, but these errors were encountered: