aboutsummaryrefslogtreecommitdiffstats
path: root/packet-x25.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-03-01 10:02:35 +0000
committerGuy Harris <guy@alum.mit.edu>2003-03-01 10:02:35 +0000
commitcec47aeb6ba929732bde0a51b07d87ad5ebbc83d (patch)
treec13e0d95ce82984d7cdab08d85010987abc27241 /packet-x25.c
parenta37b287a5055c02e3f5281ae65ae868b15ca9e99 (diff)
X.29 call user data in CALL REQUEST packets starts with an SPI and 3
bytes of other information, currently not used; that data is not to be dissected as X.29 packet data. svn path=/trunk/; revision=7241
Diffstat (limited to 'packet-x25.c')
-rw-r--r--packet-x25.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/packet-x25.c b/packet-x25.c
index b3a5873758..0ab671f9c7 100644
--- a/packet-x25.c
+++ b/packet-x25.c
@@ -2,7 +2,7 @@
* Routines for X.25 packet disassembly
* Olivier Abad <oabad@noos.fr>
*
- * $Id: packet-x25.c,v 1.79 2003/03/01 08:50:46 guy Exp $
+ * $Id: packet-x25.c,v 1.80 2003/03/01 10:02:35 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1753,6 +1753,15 @@ dissect_x25_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
*/
break;
+ case NLPID_SPI_X_29:
+ /*
+ * The first 4 bytes of the call user data are
+ * the SPI plus 3 reserved bytes; they are not
+ * part of the data to be dissected as X.29 data.
+ */
+ localoffset += 4;
+ break;
+
default:
/*
* The NLPID isn't part of the PDU - skip it.