aboutsummaryrefslogtreecommitdiffstats
path: root/packet-x25.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-07-01 08:55:28 +0000
committerGuy Harris <guy@alum.mit.edu>2000-07-01 08:55:28 +0000
commitc3587ce540ea5ec1967a9160d58aaaa995817a56 (patch)
treebb7da6b0dffef2893c53ebb847ff4fd01a48a52e /packet-x25.c
parent2f5825776b5e5f25ccc35ed9e38c3aba30585df3 (diff)
downloadwireshark-c3587ce540ea5ec1967a9160d58aaaa995817a56.tar.gz
wireshark-c3587ce540ea5ec1967a9160d58aaaa995817a56.tar.bz2
wireshark-c3587ce540ea5ec1967a9160d58aaaa995817a56.zip
Add support for OSI CLTP.
Redo the way the variable part of COTP and CLTP packets are handled, by having a single routine to handle it for all packets, rather than having the dissector for each type of packet handle the parameters those packets are supposed to have. Fix "is_LI_NORMAL_AK()" to test (heuristically) whether an AK COTP packet is normal rather than extended, rather than testing whether it's normal, and invert the test where it's used (i.e. make what it does correspond to what its name says, which means we invert the test it does, and then change the code that uses it appropriately). Add support for the "preferred maximum TPDU size" and "inactivity timer" parameters, and fix various problems in the dissection of particular parameters. svn path=/trunk/; revision=2100
Diffstat (limited to 'packet-x25.c')
-rw-r--r--packet-x25.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-x25.c b/packet-x25.c
index 710e5fb2ce..0d8fe93df1 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.32 2000/05/31 05:07:54 guy Exp $
+ * $Id: packet-x25.c,v 1.33 2000/07/01 08:55:28 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1542,7 +1542,7 @@ dissect_x25(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
case PRT_ID_ISO_8073:
/* ISO 8073 COTP */
x25_hash_add_proto_start(vc, pinfo->fd->abs_secs,
- pinfo->fd->abs_usecs, dissect_cotp);
+ pinfo->fd->abs_usecs, dissect_ositp);
break;
default: