aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tr.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2009-02-02 03:26:49 +0000
committerGuy Harris <guy@alum.mit.edu>2009-02-02 03:26:49 +0000
commit43097683f0ab241687c6cbe24d01c82c36ea9ba1 (patch)
tree2827725556e9a9e34f1323534e5faa9139811eb3 /epan/dissectors/packet-tr.c
parent11281d8085b867d984df3abd3600f7d4938e3fff (diff)
Clean up some comments.
svn path=/trunk/; revision=27349
Diffstat (limited to 'epan/dissectors/packet-tr.c')
-rw-r--r--epan/dissectors/packet-tr.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/epan/dissectors/packet-tr.c b/epan/dissectors/packet-tr.c
index b38969e126..44628ee6af 100644
--- a/epan/dissectors/packet-tr.c
+++ b/epan/dissectors/packet-tr.c
@@ -268,9 +268,8 @@ capture_tr(const guchar *pd, int offset, int len, packet_counts *ld) {
if (fix_linux_botches) {
/* this is a silly hack for Linux 2.0.x. Read the comment
- * below, in front of the other #ifdef linux.
- * If we're sniffing our own NIC, we get a full RIF,
- * sometimes with garbage
+ * below about LLC headers. If we're sniffing our own NIC,
+ * we get a full RIF, sometimes with garbage
*/
if ((source_routed && trn_rif_bytes == 2 && frame_type == 1) ||
(!source_routed && frame_type == 1)) {
@@ -443,9 +442,8 @@ dissect_tr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (fix_linux_botches) {
/* this is a silly hack for Linux 2.0.x. Read the comment
- * below, in front of the other #ifdef linux. If we're
- * sniffing our own NIC, we get a full RIF, sometimes with
- * garbage
+ * below about LLC headers. If we're sniffing our own NIC,
+ * we get a full RIF, sometimes with garbage
*/
TRY {
if (frame_type == 1 && ( (source_routed && trn_rif_bytes == 2) ||