aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee80211.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2007-09-17 12:12:02 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2007-09-17 12:12:02 +0000
commitc0d98aad6d46fa19badfc03cd1f4ccf95f946a51 (patch)
treee537f738193f75876e581b96885032dc0389120f /epan/dissectors/packet-ieee80211.c
parentd7d9fcbbf96742818899dfa57f6000edd0ac6859 (diff)
Added functionality to highlight the FCS bytes in Ethernet and IEEE 802.11
packets in the Packet Details View. This "appendix" bytes are not copied with the Copy functions or in the Export Selected Packet Bytes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22887 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ieee80211.c')
-rw-r--r--epan/dissectors/packet-ieee80211.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c
index 57bc12cf11..8854130d60 100644
--- a/epan/dissectors/packet-ieee80211.c
+++ b/epan/dissectors/packet-ieee80211.c
@@ -6081,6 +6081,8 @@ dissect_ieee80211_common (tvbuff_t * tvb, packet_info * pinfo,
"Frame check sequence: 0x%08x [incorrect, should be 0x%08x]",
sent_fcs, fcs);
+ proto_tree_set_appendix(hdr_tree, tvb, hdr_len + len, 4);
+
fcs_tree = proto_item_add_subtree(fcs_item, ett_fcs);
fcs_item = proto_tree_add_boolean(fcs_tree,
@@ -6327,6 +6329,7 @@ dissect_ieee80211_common (tvbuff_t * tvb, packet_info * pinfo,
#ifdef HAVE_AIRPDCAP
}
#endif
+ proto_item_set_len (ti, hdr_len + 8);
wep_tree = proto_item_add_subtree (extiv_fields, ett_wep_parameters);