aboutsummaryrefslogtreecommitdiffstats
path: root/packet-udp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-01-07 09:10:22 +0000
committerGuy Harris <guy@alum.mit.edu>2000-01-07 09:10:22 +0000
commit355bd9d8ac88b94803512f470d62c44640b36871 (patch)
treeba664ec012dc6f73bde1d2b5db66402633c2e345 /packet-udp.c
parentd43ab4d68468e38b510a390a80baec1fd33e6761 (diff)
downloadwireshark-355bd9d8ac88b94803512f470d62c44640b36871.tar.gz
wireshark-355bd9d8ac88b94803512f470d62c44640b36871.tar.bz2
wireshark-355bd9d8ac88b94803512f470d62c44640b36871.zip
Add John Thomas' L2TP dissector.
svn path=/trunk/; revision=1433
Diffstat (limited to 'packet-udp.c')
-rw-r--r--packet-udp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/packet-udp.c b/packet-udp.c
index 675a357c47..b5876bce2d 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.44 1999/12/12 05:11:44 gram Exp $
+ * $Id: packet-udp.c,v 1.45 2000/01/07 09:10:12 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -86,6 +86,7 @@ typedef struct _e_udphdr {
#define UDP_PORT_NCP 524
#define UDP_PORT_VINES 573
#define UDP_PORT_RADIUS 1645
+#define UDP_PORT_L2TP 1701
#define UDP_PORT_RADIUS_NEW 1812
#define UDP_PORT_RADACCT 1646
#define UDP_PORT_RADACCT_NEW 1813
@@ -308,6 +309,8 @@ dissect_udp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
PORT_IS(UDP_PORT_RADIUS_NEW) ||
PORT_IS(UDP_PORT_RADACCT_NEW) ) {
dissect_radius(pd, offset, fd, tree);
+ } else if ( PORT_IS(UDP_PORT_L2TP)) {
+ dissect_l2tp(pd,offset,fd,tree);
} else if ( PORT_IS(UDP_PORT_ICP)) {
dissect_icp(pd,offset,fd,tree);
} else if ( PORT_IS(UDP_PORT_ICQ)) {