aboutsummaryrefslogtreecommitdiffstats
path: root/packet-x25.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-01-05 19:07:38 +0000
committerGuy Harris <guy@alum.mit.edu>2001-01-05 19:07:38 +0000
commitbde0b86cafedde7f055dae4122667a986107c980 (patch)
treed9b29bc969df536039c7fea24e014f53db5fdc05 /packet-x25.c
parent499a830af64b831dabaa3269b63cbf07eee1a23a (diff)
X.25-over-LLC support, from Paul Ionescu.
svn path=/trunk/; revision=2829
Diffstat (limited to 'packet-x25.c')
-rw-r--r--packet-x25.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/packet-x25.c b/packet-x25.c
index d290b000c8..d39578e0bf 100644
--- a/packet-x25.c
+++ b/packet-x25.c
@@ -2,7 +2,7 @@
* Routines for x25 packet disassembly
* Olivier Abad <oabad@cybercable.fr>
*
- * $Id: packet-x25.c,v 1.43 2001/01/03 23:30:50 oabad Exp $
+ * $Id: packet-x25.c,v 1.44 2001/01/05 19:07:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -37,6 +37,7 @@
#include <stdlib.h>
#include <string.h>
#include "etypes.h"
+#include "llcsaps.h"
#include "packet.h"
#include "packet-x25.h"
#include "packet-ip.h"
@@ -2063,8 +2064,10 @@ void
proto_reg_handoff_x25(void)
{
/*
- * Get handles for the IP and OSI TP (COTP/CLTP) dissector.
+ * Get handles for the IP and OSI TP (COTP/CLTP) dissectors.
*/
ip_handle = find_dissector("ip");
ositp_handle = find_dissector("ositp");
+
+ dissector_add("llc.dsap", SAP_X25, dissect_x25);
}