diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-08-16 05:54:32 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-08-16 05:54:32 +0000 |
commit | afe2eecfd71a87e7f208ef7df637cb9e403f57ad (patch) | |
tree | 904f23b37f062242eece7069dc27f7b8e982c91b /xdlc.c | |
parent | 49734a369efe5bdde30b5f4efca1d791a9942bd7 (diff) | |
download | wireshark-afe2eecfd71a87e7f208ef7df637cb9e403f57ad.tar.gz wireshark-afe2eecfd71a87e7f208ef7df637cb9e403f57ad.tar.bz2 wireshark-afe2eecfd71a87e7f208ef7df637cb9e403f57ad.zip |
Get rid of the comments saying "make ["decode_numeric_bitfield()"] shift
the value appropriately!" - a change from Olivier Abad did so.
svn path=/trunk/; revision=501
Diffstat (limited to 'xdlc.c')
-rw-r--r-- | xdlc.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -2,7 +2,7 @@ * Routines for use by various SDLC-derived protocols, such as HDLC * and its derivatives LAPB, IEEE 802.2 LLC, etc.. * - * $Id: xdlc.c,v 1.2 1999/08/05 06:30:05 guy Exp $ + * $Id: xdlc.c,v 1.3 1999/08/16 05:54:32 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@unicom.net> @@ -243,7 +243,6 @@ dissect_xdlc_control(const u_char *pd, int offset, frame_data *fd, frame_type, "Control field: %s (0x%04X)", info, control); control_tree = proto_item_add_subtree(tc, ETT_XDLC_CONTROL); - /* XXX - make it shift the value appropriately! */ proto_tree_add_text(control_tree, offset, 2, decode_numeric_bitfield(control, XDLC_N_R_EXT_MASK, 2*8, "N(R) = %u")); @@ -265,7 +264,6 @@ dissect_xdlc_control(const u_char *pd, int offset, frame_data *fd, frame_type, "Control field: %s (0x%02X)", info, control); control_tree = proto_item_add_subtree(tc, ETT_XDLC_CONTROL); - /* XXX - make it shift the value appropriately! */ proto_tree_add_text(control_tree, offset, 1, decode_numeric_bitfield(control, XDLC_N_R_MASK, 1*8, "N(R) = %u")); @@ -362,11 +360,9 @@ dissect_xdlc_control(const u_char *pd, int offset, frame_data *fd, info, control); control_tree = proto_item_add_subtree(tc, ETT_XDLC_CONTROL); if (is_extended) { - /* XXX - make it shift the value appropriately! */ proto_tree_add_text(control_tree, offset, 2, decode_numeric_bitfield(control, XDLC_N_R_EXT_MASK, 2*8, "N(R) = %u")); - /* XXX - make it shift the value appropriately! */ proto_tree_add_text(control_tree, offset, 2, decode_numeric_bitfield(control, XDLC_N_S_EXT_MASK, 2*8, "N(S) = %u")); @@ -380,11 +376,9 @@ dissect_xdlc_control(const u_char *pd, int offset, frame_data *fd, decode_boolean_bitfield(control, 0x01, 2*8, NULL, "Information frame")); } else { - /* XXX - make it shift the value appropriately! */ proto_tree_add_text(control_tree, offset, 1, decode_numeric_bitfield(control, XDLC_N_R_MASK, 1*8, "N(R) = %u")); - /* XXX - make it shift the value appropriately! */ proto_tree_add_text(control_tree, offset, 1, decode_numeric_bitfield(control, XDLC_N_S_MASK, 1*8, "N(S) = %u")); |