aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eth.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-eth.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-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);
}
}
}