aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sdlc.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-09-02 19:18:52 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-09-02 19:18:52 +0000
commit2ad594bdc35e15beff7287092e29a8be648a5a12 (patch)
tree7924a9ddd20a83a016d1fdb768079765bb451dba /packet-sdlc.c
parentfb801665c768052767bf1ea7d2436005eac68329 (diff)
Use "dissect_xdlc_control()" to dissect the control field of Frame Relay
packets that have one. Add an argument to "dissect_xdlc_control()" to indicate whether it should append the information to the Info field or just put it in the Info field. Use the #defines for the DLCI bitfields to extract the DLCI bits when constructing the DLCI. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8335 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-sdlc.c')
-rw-r--r--packet-sdlc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-sdlc.c b/packet-sdlc.c
index b485f971ae..8983090ee6 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.1 2003/01/03 22:31:24 guy Exp $
+ * $Id: packet-sdlc.c,v 1.2 2003/09/02 19:18:52 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -107,7 +107,7 @@ 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, is_response, FALSE);
+ ett_sdlc_control, is_response, FALSE, FALSE);
sdlc_header_len += XDLC_CONTROL_LEN(control, FALSE);
if (tree)