Skip to content

Commit 1225b9e

Browse files
committed
net: ethernet: Show interface for dropped RX packet
For debugging purposes it is useful to know which interface the dropped packet was received. Signed-off-by: Jukka Rissanen <[email protected]>
1 parent 317d551 commit 1225b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/net/ip/l2/ethernet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ static enum net_verdict ethernet_recv(struct net_if *iface,
160160
break;
161161
#endif
162162
default:
163-
NET_DBG("Unknown hdr type 0x%04x", type);
163+
NET_DBG("Unknown hdr type 0x%04x iface %p", type, iface);
164164
return NET_DROP;
165165
}
166166

0 commit comments

Comments
 (0)