aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eth.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-eth.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-eth.c')
-rw-r--r--epan/dissectors/packet-eth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-eth.c b/epan/dissectors/packet-eth.c
index 10b25cadb8..658db4dccf 100644
--- a/epan/dissectors/packet-eth.c
+++ b/epan/dissectors/packet-eth.c
@@ -428,6 +428,7 @@ add_ethernet_trailer(proto_tree *fh_tree, int trailer_id, tvbuff_t *tvb,
"Frame check sequence: 0x%08x [incorrect, should be 0x%08x]",
sent_fcs, fcs);
}
+ proto_tree_set_appendix(fh_tree, tvb, tvb_length(tvb) - 4, 4);
}
}
}