Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/plugins/mgcp packet-mgcp.c

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: Sun, 9 Dec 2001 18:26:22 -0600 (CST)
guy         2001/12/09 18:26:22 CST

  Modified files:
    plugins/mgcp         packet-mgcp.c 
  Log:
  Move the pointer to the "column_info" structure in the "frame_data"
  structure to the "packet_info" structure; only stuff that's permanently
  stored with each frame should be in the "frame_data" structure, and the
  "column_info" structure is not guaranteed to hold the column values for
  that frame at all times - it was only in the "frame_data" structure so
  that it could be passed to dissectors, and, as all dissectors are now
  passed a pointer to a "packet_info" structure, it could just as well be
  put in the "packet_info" structure.
  
  That saves memory, by shrinking the "frame_data" structure (there's one
  of those per frame), and also lets us clean up the code a bit.
  
  Revision  Changes    Path
  1.29      +11 -11    ethereal/plugins/mgcp/packet-mgcp.c