diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-18 08:32:46 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-18 08:32:46 +0000 |
commit | 09fcdb8a6cf99880c2201935a49e114eb9c2d0ee (patch) | |
tree | 5f69dc150eac8233eefdbc1d4aa153060afd2b32 /packet-sdlc.c | |
parent | 13c173de75d4a98a5596be5006a4ab61b7054632 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9713 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-sdlc.c')
-rw-r--r-- | packet-sdlc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-sdlc.c b/packet-sdlc.c index b777178f55..490c5c734d 100644 --- a/packet-sdlc.c +++ b/packet-sdlc.c @@ -1,7 +1,7 @@ /* packet-sdlc.c * Routines for SDLC frame disassembly * - * $Id: packet-sdlc.c,v 1.3 2004/01/03 03:49:22 guy Exp $ + * $Id: packet-sdlc.c,v 1.4 2004/01/18 08:32:46 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -128,7 +128,8 @@ dissect_sdlc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) * to control what to use. */ control = dissect_xdlc_control(tvb, 1, pinfo, sdlc_tree, hf_sdlc_control, - ett_sdlc_control, &sdlc_cf_items, NULL, is_response, FALSE, FALSE); + ett_sdlc_control, &sdlc_cf_items, NULL, NULL, NULL, + is_response, FALSE, FALSE); sdlc_header_len += XDLC_CONTROL_LEN(control, FALSE); if (tree) |