Make the protocol ID argument to "dissect_transform()" an "int", and
authorGuy Harris <guy@alum.mit.edu>
Fri, 26 Oct 2001 10:30:16 +0000 (10:30 -0000)
committerGuy Harris <guy@alum.mit.edu>
Fri, 26 Oct 2001 10:30:16 +0000 (10:30 -0000)
commitba9618e60716b536400f2aac50242f55b9492eef
tree8a35612c3be5a10a0be12f95f99c74b549ef93d0
parentd79c0698c8925ff4f742efc5eb1c70d68096e10c
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()".

svn path=/trunk/; revision=4086
packet-isakmp.c