Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-q931.c packet-tpkt.c packet-tpkt.h

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 13 May 2002 16:18:26 -0500 (CDT)
guy         2002/05/13 16:18:26 CDT

  Modified files:
    .                    packet-q931.c packet-tpkt.c packet-tpkt.h 
  Log:
  Have "is_tpkt()" take a minimum-payload-length argument and check
  whether the length value in the TPKT header is large enough to include
  that much payload - if not, report the packet as not being a TPKT
  packet.
  
  Have the heuristic Q.931 dissector supply the appropriate value.
  
  Revision  Changes    Path
  1.43      +13 -15    ethereal/packet-q931.c
  1.19      +19 -5     ethereal/packet-tpkt.c
  1.8       +6 -2      ethereal/packet-tpkt.h