aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tr.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-07-02 08:23:53 +0000
committerGuy Harris <guy@alum.mit.edu>2002-07-02 08:23:53 +0000
commit946337a9b853b68d090b47ab3dcd274fefe12551 (patch)
treec9716099e88fd041262c5ab7d5390f628b604e61 /packet-tr.c
parent9cde3af195aa18205c07f40556b2536e34c57b3c (diff)
It appears that the annoying Linux behavior wherein the "source routed"
flag is never set on packets sent by the machine on which the capture is being done is not a 2.0[.x]-only problem; it's in 2.4.18, and may well be in all 2.x kernels with at least some drivers. svn path=/trunk/; revision=5812
Diffstat (limited to 'packet-tr.c')
-rw-r--r--packet-tr.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/packet-tr.c b/packet-tr.c
index 8e2f39fdc2..b5f2d40f09 100644
--- a/packet-tr.c
+++ b/packet-tr.c
@@ -2,7 +2,7 @@
* Routines for Token-Ring packet disassembly
* Gilbert Ramirez <gram@alumni.rice.edu>
*
- * $Id: packet-tr.c,v 1.70 2002/04/14 23:04:04 guy Exp $
+ * $Id: packet-tr.c,v 1.71 2002/07/02 08:23:53 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -226,6 +226,11 @@ capture_tr(const u_char *pd, int offset, int len, packet_counts *ld) {
* which packets should have been SR here. I'll check to
* see if there's a SNAP or IPX field right after
* my RIF fields.
+ *
+ * The Linux 2.4.18 code, at least appears to do the
+ * same thing, from a capture I got from somebody running
+ * 2.4.18 (RH 7.1, so perhaps this is a Red Hat
+ * "improvement").
*/
if (!source_routed && trn_rif_bytes > 0) {
if (pd[offset + 0x0e] != pd[offset + 0x0f]) {
@@ -365,6 +370,11 @@ dissect_tr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
* which packets should have been SR here. I'll check to
* see if there's a SNAP or IPX field right after
* my RIF fields.
+ *
+ * The Linux 2.4.18 code, at least appears to do the
+ * same thing, from a capture I got from somebody running
+ * 2.4.18 (RH 7.1, so perhaps this is a Red Hat
+ * "improvement").
*/
if (frame_type == 1 && !source_routed && trn_rif_bytes > 0) {
TRY {