commit | 96943e6868ed88b1cfeac5b2562bce5abab961f0 | [log] [tgz] |
---|---|---|
author | guy <guy> | Fri Aug 24 09:27:14 2001 +0000 |
committer | guy <guy> | Fri Aug 24 09:27:14 2001 +0000 |
tree | f0f3334b356c8cf7f1794dcacf851b52ce57a8df | |
parent | 8d039ab3b6711605b31530bb7454f86d1d8a55cd [diff] |
In "pcap_read_packet()", always use "handle->buffer + handle->offset" as the pointer to the beginning of the link-layer header; never use just "handle->buffer", as, if "handle->offset" is non-zero (as is the case with many link-layer types, including Ethernet), "handle->buffer" doesn't point to the beginning of the link-layer header.