diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-09-02 19:18:52 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-09-02 19:18:52 +0000 |
commit | 454806eeff5bd53d1283bbc2fafe86cdf0eddd48 (patch) | |
tree | 7924a9ddd20a83a016d1fdb768079765bb451dba /packet-lapd.c | |
parent | 7cb23da0fb155a118684a966303da81da70d18ca (diff) | |
download | wireshark-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-lapd.c')
-rw-r--r-- | packet-lapd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-lapd.c b/packet-lapd.c index 12a8676cd9..f69b5cbce6 100644 --- a/packet-lapd.c +++ b/packet-lapd.c @@ -2,7 +2,7 @@ * Routines for LAPD frame disassembly * Gilbert Ramirez <gram@alumni.rice.edu> * - * $Id: packet-lapd.c,v 1.34 2003/01/07 01:08:27 guy Exp $ + * $Id: packet-lapd.c,v 1.35 2003/09/02 19:18:52 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -137,7 +137,7 @@ dissect_lapd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } control = dissect_xdlc_control(tvb, 2, pinfo, lapd_tree, hf_lapd_control, - ett_lapd_control, is_response, TRUE); + ett_lapd_control, is_response, TRUE, FALSE); lapd_header_len += XDLC_CONTROL_LEN(control, TRUE); if (tree) |