summaryrefslogtreecommitdiff
path: root/net/netdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netdev.c')
-rw-r--r--net/netdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netdev.c b/net/netdev.c
index 863661d..1177891 100644
--- a/net/netdev.c
+++ b/net/netdev.c
@@ -10,6 +10,7 @@
void net_incoming(struct netdev *netdev, struct eth_hdr *hdr)
{
+ klog("frame incoming: type [0x%04x]",hdr->ethertype);
if(hdr->ethertype==htons(ETH_P_ARP))arp_incoming(netdev,hdr);
if(hdr->ethertype==htons(ETH_P_IPV4))ipv4_incoming(netdev,hdr);
}