Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-gtp.c

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Tue, 30 Mar 2004 12:14:22 -0600 (CST)
guy         2004/03/30 12:14:22 CST

  Modified files:
    .                    packet-gtp.c 
  Log:
  The extension ID field in a Private Extension IU is 2 bytes, so the
  length of the IU must be at least 2 bytes in order to dissect the
  contents.
  
  Just use "proto_tree_add_item()" to add the value of the private
  extension, and do so only if it's not zero-length.
  
  Revision  Changes    Path
  1.74      +12 -9     ethereal/packet-gtp.c