diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-03-01 10:02:35 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-03-01 10:02:35 +0000 |
commit | cc0fe7612a4499e8b65031ff253bba493b762efa (patch) | |
tree | c13e0d95ce82984d7cdab08d85010987abc27241 /packet-x25.c | |
parent | 2c862c7b184785f684090908d80b3ca55ffa23d3 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7241 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-x25.c')
-rw-r--r-- | packet-x25.c | 11 |
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. |