aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isakmp.c
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-26 18:21:52 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-26 18:21:52 +0000
commit9ca03d77ac812ae94a8f7cbde82ba7ef73695624 (patch)
tree8d2acf9b24bbbfd13c0c9898bebd296b37f254da /epan/dissectors/packet-isakmp.c
parent3c83aef0e3ced885f52c2b1d900f0e81a51ed8f0 (diff)
Isakmp runs over port 4500 (natt) as well
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22669 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-isakmp.c')
-rw-r--r--epan/dissectors/packet-isakmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-isakmp.c b/epan/dissectors/packet-isakmp.c
index cd7ba51e4f..1357566501 100644
--- a/epan/dissectors/packet-isakmp.c
+++ b/epan/dissectors/packet-isakmp.c
@@ -108,6 +108,7 @@ static dissector_handle_t eap_handle = NULL;
/* IKE port number assigned by IANA */
#define UDP_PORT_ISAKMP 500
+#define UDP_NATT_PORT_ISAKMP 4500
#define TCP_PORT_ISAKMP 500
/*
@@ -3227,6 +3228,7 @@ proto_reg_handoff_isakmp(void)
isakmp_handle = find_dissector("isakmp");
eap_handle = find_dissector("eap");
+ dissector_add("udp.port", UDP_NATT_PORT_ISAKMP, isakmp_handle);
dissector_add("udp.port", UDP_PORT_ISAKMP, isakmp_handle);
dissector_add("tcp.port", TCP_PORT_ISAKMP, isakmp_handle);
}