diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-05-16 22:01:44 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-05-16 22:01:44 +0000 |
commit | 13262726bc3eb6a8efdee9dc028a59719b6f7cd9 (patch) | |
tree | e375fd0b93329515be736859b927dd6d07a5504a /wiretap/btsnoop.c | |
parent | 609dac2f9e41d6a566c3123770ce2d476f6171c5 (diff) | |
download | wireshark-13262726bc3eb6a8efdee9dc028a59719b6f7cd9.tar.gz |
Pull the code to set the wtap_pkthdr into a common routine, so it's done
for read and seek-read.
Clarify a comment. (wtap_open_offline() only rewinds the file before
calling each open routine; once one of those routines has decided the
file belongs to it, the seek offset belongs to it, so it needs to do all
the seeking necessary - files with a file header *don't* want a rewind,
they want to leave the seek offset positioned *past* the file header so
it can read the records that follow the file header.)
svn path=/trunk/; revision=49347
Diffstat (limited to 'wiretap/btsnoop.c')
0 files changed, 0 insertions, 0 deletions