Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap etherpeek.c wtap.h

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Wed, 25 Jun 2003 12:35:17 -0500 (CDT)
guy         2003/06/25 12:35:17 CDT

  Modified files:
    wiretap              etherpeek.c wtap.h 
  Log:
  GCC 3.3 noticed that checking whether the length of the slice is > 65535
  is pointless, as it's a 16-bit unsigned quantity.  Remove those checks -
  but note in a comment that WTAP_MAX_PACKET_SIZE must be at least 65535
  (as there might well be link-layer types with packets at least that
  large).
  
  Revision  Changes    Path
  1.23      +1 -13     ethereal/wiretap/etherpeek.c
  1.138     +2 -1      ethereal/wiretap/wtap.h