diff options
-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. |