Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-rmcp.c packet-asf.c packet-ipmi.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Wed, 4 Jun 2003 03:51:36 -0500 (CDT)
guy         2003/06/04 03:51:36 CDT

  Modified files:
    .                    packet-rmcp.c packet-asf.c packet-ipmi.c 
  Log:
  Have the RMCP dissector reject packets with an unknown class byte value,
  so we don't mis-dissect non-RMCP traffic going to or from the RMCP port.
  
  Use the dissector table set up for RMCP classes - use
  "dissector_try_port()" rather than explicitly checking class values, and
  have the sub-dissectors register in the dissector table rather than
  registering their dissectors.
  
  Revision  Changes    Path
  1.2       +31 -29    ethereal/packet-rmcp.c
  1.2       +4 -5      ethereal/packet-asf.c
  1.2       +4 -4      ethereal/packet-ipmi.c