ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [ethereal-dev] Re: ISAKMP/IKE protocol dumps

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 5 Dec 1999 19:42:02 -0800
> Yeah, I should have mentioned that it was a hack, it works but is ugly.

I checked in a modified version that's valid C code - i.e., it doesn't
set the "func" member of the fourth element of "strfuncs[]" to
"dissect_transform"; instead, it sets it to NULL and, in all the places
where the "func" member of that array is used, the code checks if the
payload type is a transform and, if so, calls "dissect_transform()" with
the same arguments it'd pass to the payload dissector, plus 0 as a
protocol ID.