aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee80211.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2007-09-17 12:12:02 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2007-09-17 12:12:02 +0000
commit72af3183ab319a86c636b3a9dbad8df8ad7614e1 (patch)
treee537f738193f75876e581b96885032dc0389120f /epan/dissectors/packet-ieee80211.c
parent8f19616ae86f9e5a5f70eb2bb2b468caf40461ea (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. svn path=/trunk/; revision=22887
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);