commit | ebe5a20bbda8c032dab9e9582c8b6fab9a1283fe | [log] [tgz] |
---|---|---|
author | Guy Harris <guy@alum.mit.edu> | Wed Nov 01 01:57:40 2017 -0700 |
committer | Guy Harris <guy@alum.mit.edu> | Wed Nov 01 01:57:40 2017 -0700 |
tree | 0e579a349e6c008c809122d2e753796037b7c9e1 | |
parent | 9ad3bd4da55d43c4cb2f0c1a9d1d77b1de79d76d [diff] |
Use rpcap_recv() and pcap_discard() for RPCAP_MSG_PACKET payloads over TCP. That way, the appropriate packet length checks, and other checks, are done.