aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-04-05 22:20:21 +0000
committerGuy Harris <guy@alum.mit.edu>2010-04-05 22:20:21 +0000
commit400d57fa2f47f050a4e8749f3f352d807c287341 (patch)
tree2f59880f138afe5ec4c00b361a9859f3635b3000 /text2pcap.c
parentefe67639880d6538b79174c48c385b17115beb75 (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 'text2pcap.c')
0 files changed, 0 insertions, 0 deletions