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

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

From: Laurent Deniel <deniel@xxxxxxxxxxxx>
Date: Fri, 18 Aug 2000 08:48:16 -0500 (CDT)
deniel      2000/08/18 08:48:08 CDT

  Modified files:
    plugins/gryphon      packet-gryphon.c 
  Log:
  Modify the Gryphon plugin code in order to avoid an abort when the
  plugin is enabled -> disabled -> re-enabled due to the fact that
  the protocol registration is performed at each plugin_init() call
  (and there is no protocol cleanup like with dfilter_cleanup).
  
  Now we use the proto_xxx static variable to check if it is the first
  activation or not (in this case, the proto_register_xxx routines are
  not called.
  
  Revision  Changes    Path
  1.11      +11 -4     ethereal/plugins/gryphon/packet-gryphon.c