diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-10-18 10:39:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-10-18 10:39:23 +0000 |
commit | 39fb4b837835de20208df8abdac932202d667202 (patch) | |
tree | 9fdb4883623b0ca9ec8f257a75ed16cf8bb6ccf8 /g711.c | |
parent | 6e759b47f217012eeb590c739097c5d788b9d45c (diff) |
"aalt5_len" in the ATM pseudo-header is not guaranteed to be set to a
non-zero value - it's only set from file formats that provide it in a
per-packet header, and only the old DOS Sniffer did so, so it's zero for
all other capture types. Instead, check the actual packet data length.
Also check it against 16; 14 bytes isn't large enough for a LANE
Ethernet frame.
svn path=/trunk/; revision=16261
Diffstat (limited to 'g711.c')
0 files changed, 0 insertions, 0 deletions