Commit 94344348 authored by Jon Kåre Hellan's avatar Jon Kåre Hellan

Off by two


git-svn-id: file:///home/svn/mapi/trunk@1239 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 1dab35f3
......@@ -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));
eth_type = ntohs(*((unsigned short *)(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