Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] [PATCH] Next payload in IKEv2 (packet-isakmp.c)

From: Eric Fung <efung@xxxxxxxxxxxx>
Date: Mon, 14 Aug 2006 18:39:28 -0400
A very tiny patch that corrects decoding of the Next Payload field in the IKEv2 header. RFC 4306, Sec 3.2 says that a payload type of 0 means "No Next Payload" and not RESERVED. The patch just uses the same string the dissector uses for IKEv1, namely, "NONE".
Index: packet-isakmp.c
===================================================================
--- packet-isakmp.c	(revision 18902)
+++ packet-isakmp.c	(working copy)
@@ -556,6 +556,7 @@
 };
 
 static struct payload_func v2_plfunc[] = {
+  {  0, "NONE",			NULL              },
   {  2, "Proposal",		dissect_proposal  },
   {  3, "Transform",		dissect_transform2 },
   { 33, "Security Association",	dissect_sa        },