Ethereal-cvs: [Ethereal-cvs] rev 16261: /trunk/wiretap/: atm.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Tue, 18 Oct 2005 10:39:26 GMT
User: guy
Date: 2005/10/18 05:39 AM

Log:
 "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.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +4 -4      atm.c         Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=16261&view=rev