aboutsummaryrefslogtreecommitdiffstats
path: root/packet-v120.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-09-02 19:18:52 +0000
committerGuy Harris <guy@alum.mit.edu>2003-09-02 19:18:52 +0000
commit454806eeff5bd53d1283bbc2fafe86cdf0eddd48 (patch)
tree7924a9ddd20a83a016d1fdb768079765bb451dba /packet-v120.c
parent7cb23da0fb155a118684a966303da81da70d18ca (diff)
downloadwireshark-454806eeff5bd53d1283bbc2fafe86cdf0eddd48.tar.gz
wireshark-454806eeff5bd53d1283bbc2fafe86cdf0eddd48.tar.bz2
wireshark-454806eeff5bd53d1283bbc2fafe86cdf0eddd48.zip
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. svn path=/trunk/; revision=8335
Diffstat (limited to 'packet-v120.c')
-rw-r--r--packet-v120.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-v120.c b/packet-v120.c
index 5c6a856351..25dc238d4e 100644
--- a/packet-v120.c
+++ b/packet-v120.c
@@ -2,7 +2,7 @@
* Routines for v120 frame disassembly
* Bert Driehuis <driehuis@playbeing.org>
*
- * $Id: packet-v120.c,v 1.30 2002/10/31 07:43:10 guy Exp $
+ * $Id: packet-v120.c,v 1.31 2003/09/02 19:18:52 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -126,7 +126,7 @@ dissect_v120(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
ti = NULL;
}
control = dissect_xdlc_control(tvb, 2, pinfo, v120_tree, hf_v120_control,
- ett_v120_control, is_response, TRUE);
+ ett_v120_control, is_response, TRUE, FALSE);
if (tree) {
v120len = 2 + XDLC_CONTROL_LEN(control, TRUE);
if (tvb_bytes_exist(tvb, v120len, 1))