Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal file.c packet-socks.c tethereal.c

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

From: Gilbert Ramirez Jr. <gram@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Nov 2001 17:16:23 -0600 (CST)
gram        2001/11/21 17:16:22 CST

  Modified files:
    .                    file.c packet-socks.c tethereal.c 
  Log:
  Remove the global packet_info called "pi". Dissectors now only
  access their own "pinfo". A packet_info is stored in epan_dissect_t,
  which is created for the dissection of a single packet.
  
  GUI functions which need to access the packet_info of the currently
  selected packet used to use "pi"; now they use cfile.edt->pi. cfile's
  "edt" member is the epan_dissect_t of the currently-selected packet.
  
  The functionality of blank_packetinfo() was moved into
  dissect_packet(), as that's the only place that called blank_packetinfo(),
  after a spurious call to blank_packetinfo() was removed from
  packet_list_select_cb().
  
  Revision  Changes    Path
  1.248     +4 -4      ethereal/file.c
  1.28      +2 -2      ethereal/packet-socks.c
  1.99      +2 -3      ethereal/tethereal.c