aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isakmp.c
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2006-08-15 18:16:56 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2006-08-15 18:16:56 +0000
commit188b0259bcdb239f7759e9326d5138594580f231 (patch)
tree648a44db992bd676e0388b5ded704648fdb4a536 /epan/dissectors/packet-isakmp.c
parentda9ebec13b691e1a0c1abe72b702c74c3c067aa7 (diff)
Eric Fung <efung@certicom.com>
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". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18914 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-isakmp.c')
-rw-r--r--epan/dissectors/packet-isakmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-isakmp.c b/epan/dissectors/packet-isakmp.c
index 418660bb7d..41b11b607c 100644
--- a/epan/dissectors/packet-isakmp.c
+++ b/epan/dissectors/packet-isakmp.c
@@ -556,6 +556,7 @@ static struct payload_func v1_plfunc[] = {
};
static struct payload_func v2_plfunc[] = {
+ { 0, "NONE", NULL },
{ 2, "Proposal", dissect_proposal },
{ 3, "Transform", dissect_transform2 },
{ 33, "Security Association", dissect_sa },