Commit 927fb7fe authored by Jon Kåre Hellan's avatar Jon Kåre Hellan

npktproc.c (nprobeProcessPacket): Silence warning.


git-svn-id: file:///home/svn/mapi/trunk@1258 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent d8f36c4f
......@@ -108,7 +108,7 @@ nprobeProcessPacket(void *ctxt, mapid_pkthdr_t *pkt_head, const void *pkt)
npctxt->ignoredOctetTotalCount = npctxt->ignoredOctetTotalCount + length;
return;
}
eth_type = ntohs(*((unsigned short *)(pkt+2)));
eth_type = ntohs(*(unsigned short *)((char *)pkt+2));
ehshift = NULL_HDRLEN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment