When reading sequentially, pass the packet data length to
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 31 Dec 2013 23:43:54 +0000 (23:43 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 31 Dec 2013 23:43:54 +0000 (23:43 +0000)
commit6a164ac46e2afb568469aca9a53b58e70668878a
treec1888ebcdd20fcf449d57a59e06501759cf934a2
parent3441eb527009b6b03f0896ed6d386e317bd7db74
When reading sequentially, pass the packet data length to
ngsniffer_read_rec_data(), and separatelyskip extra data after that.

When reading randomly, use the packet length read from the packet
header.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@54523 f5534014-38df-0310-8fa8-9805f1628bb7
wiretap/ngsniffer.c