aboutsummaryrefslogtreecommitdiffstats
path: root/packet-lapb.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-01-18 08:32:46 +0000
committerGuy Harris <guy@alum.mit.edu>2004-01-18 08:32:46 +0000
commit5a751f6811f1d73656bf3f10c1c951726013f5f1 (patch)
tree5f69dc150eac8233eefdbc1d4aa153060afd2b32 /packet-lapb.c
parent4e702f2b8d3fef7a8e80def7d15e2574d1f9a02b (diff)
Add arguments to "dissect_xdlc_control()" to specify value_string
tables, for use in the top-level item for the control field, for unnumbered frame function codes for commands and responses. If the argument is null, default to the standard tables. Use "dissect_xdlc_control()" and the #defines from "xdlc.h" for IrDA. Use the reported length rather than the data length in the IrDA dissector when iterating over the data in an IrDA packet. Make "dissect_xid()" update the column information as well as the protocol tree. Put the slot number into the protocol tree only for command frames - "the slot number field is undefined in discovery XID response frames", to quote the IrLAP spec. svn path=/trunk/; revision=9713
Diffstat (limited to 'packet-lapb.c')
-rw-r--r--packet-lapb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-lapb.c b/packet-lapb.c
index 9b1acfa879..d015e22a15 100644
--- a/packet-lapb.c
+++ b/packet-lapb.c
@@ -2,7 +2,7 @@
* Routines for lapb frame disassembly
* Olivier Abad <oabad@noos.fr>
*
- * $Id: packet-lapb.c,v 1.41 2004/01/03 03:49:22 guy Exp $
+ * $Id: packet-lapb.c,v 1.42 2004/01/18 08:32:45 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -151,7 +151,8 @@ dissect_lapb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
lapb_tree = NULL;
dissect_xdlc_control(tvb, 1, pinfo, lapb_tree, hf_lapb_control,
- ett_lapb_control, &lapb_cf_items, NULL, is_response, FALSE, FALSE);
+ ett_lapb_control, &lapb_cf_items, NULL, NULL, NULL,
+ is_response, FALSE, FALSE);
/* not end of frame ==> X.25 */
if (tvb_reported_length(tvb) > 2) {