Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-isakmp.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: Fri, 26 Oct 2001 05:30:18 -0500 (CDT)
guy         2001/10/26 05:30:17 CDT

  Modified files:
    .                    packet-isakmp.c 
  Log:
  Make the protocol ID argument to "dissect_transform()" an "int", and
  pass -1 in the cases where it's not called from "dissect_proposal()",
  i.e. where there *is* no protocol ID to pass it, and have it dissect
  the transform ID only as a number if the protocol ID isn't one of the
  ones we know about.
  
  Give the payload dissectors other than "dissect_transform()" an extra
  "int" argument, so that their signature is the same as that of
  "dissect_transform()", put "dissect_transform()" back in the
  "strfuncs[]" table, and get rid of the special-casing of
  "dissect_transform()" in "dissect_payloads()".
  
  Revision  Changes    Path
  1.47      +49 -36    ethereal/packet-isakmp.c