X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FIPStack%2Flink.c;h=8de872923db567310c1dd5ff106141b6ca866912;hb=7f80ab30017689efe0aaaab18abc7ceda689d859;hp=4be9d80ce19194aaf1261ef0f35b76d3d6f1f7e3;hpb=23096bbffa94688e90db5045d124dcdfe83a132e;p=tpg%2Facess2.git diff --git a/Modules/IPStack/link.c b/Modules/IPStack/link.c index 4be9d80c..8de87292 100644 --- a/Modules/IPStack/link.c +++ b/Modules/IPStack/link.c @@ -136,11 +136,12 @@ void Link_WatchDevice(tAdapter *Adapter) Log_Log("Net Link", "Packet from %02x:%02x:%02x:%02x:%02x:%02x" - " to %02x:%02x:%02x:%02x:%02x:%02x", + " to %02x:%02x:%02x:%02x:%02x:%02x (Type=%04x)", hdr->Src.B[0], hdr->Src.B[1], hdr->Src.B[2], hdr->Src.B[3], hdr->Src.B[4], hdr->Src.B[5], hdr->Dest.B[0], hdr->Dest.B[1], hdr->Dest.B[2], - hdr->Dest.B[3], hdr->Dest.B[4], hdr->Dest.B[5] + hdr->Dest.B[3], hdr->Dest.B[4], hdr->Dest.B[5], + ntohs(hdr->Type) ); checksum = *(Uint32*)&hdr->Data[ret-sizeof(tEthernetHeader)-4]; //Log_Log("NET", "Checksum 0x%08x", checksum);