diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-04-05 22:20:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-04-05 22:20:21 +0000 |
commit | 400d57fa2f47f050a4e8749f3f352d807c287341 (patch) | |
tree | 2f59880f138afe5ec4c00b361a9859f3635b3000 /tap-smbstat.c | |
parent | efe67639880d6538b79174c48c385b17115beb75 (diff) |
Treat the first block we read, when opening, specially:
1) if it's not an SHB, just say "this is not a pcap-ng file",
don't try to process it (we can't process it, as we haven't
finished setting up all the state information yet);
2) if it has the right SHB type code, but isn't a valid SHB,
just say "this is not a pcap-ng file".
For all other SHB's, treat anything that renders it invalid as an error.
svn path=/trunk/; revision=32393
Diffstat (limited to 'tap-smbstat.c')
0 files changed, 0 insertions, 0 deletions