aboutsummaryrefslogtreecommitdiffstats
path: root/packet-udp.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-06-11 15:30:55 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-06-11 15:30:55 +0000
commit34450a8a3570e8f03c503d849e78f7a2ac5e9349 (patch)
tree869d1bd0afd3386bab96cd39e66045ac8f345f24 /packet-udp.c
parent6d7cf738f0f933f83f0475a1514c09de7d20cb4a (diff)
Added PPPoE, PPTP, GRE, and ISAKMP dissectors.
svn path=/trunk/; revision=303
Diffstat (limited to 'packet-udp.c')
-rw-r--r--packet-udp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-udp.c b/packet-udp.c
index 7d7a499c74..f8b633a33b 100644
--- a/packet-udp.c
+++ b/packet-udp.c
@@ -1,7 +1,7 @@
/* packet-udp.c
* Routines for UDP packet disassembly
*
- * $Id: packet-udp.c,v 1.16 1999/05/12 05:56:42 gram Exp $
+ * $Id: packet-udp.c,v 1.17 1999/06/11 15:30:40 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -64,6 +64,7 @@ typedef struct _e_udphdr {
#define UDP_PORT_NBNS 137
#define UDP_PORT_NBDGM 138
#define UDP_PORT_SNMP 161
+#define UDP_PORT_ISAKMP 500
#define UDP_PORT_RIP 520
#define UDP_PORT_VINES 573
@@ -212,6 +213,9 @@ dissect_udp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
case UDP_PORT_DNS:
dissect_dns(pd, offset, fd, tree);
break;
+ case UDP_PORT_ISAKMP:
+ dissect_isakmp(pd, offset, fd, tree);
+ break;
case UDP_PORT_RIP:
/* we should check the source port too (RIP: UDP src and dst port 520) */
dissect_rip(pd, offset, fd, tree);