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

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

From: Ed Warnicke <hagbard@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 1 Apr 2001 17:01:35 -0500 (CDT)
hagbard     2001/04/01 17:01:35 CDT

  Modified files:
    epan                 epan.c packet.c 
  Log:
  Changed packet_init() to look up the frame dissector and cache its
  dissector_handle in a static variable in packet.c.  Changed dissect_packet
  to call dissector from using the call_dissector() function and the cached
  dissector_handle for frame_dissector.  Changed the order of function
  calls in epan_init() to allow for this change ( it sucks to look up
  a dissector when none are registered ).
  
  Revision  Changes    Path
  1.9       +2 -2      ethereal/epan/epan.c
  1.32      +6 -3      ethereal/epan/packet.c