summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.c
diff options
context:
space:
mode:
authorkbyanc <kbyanc@FreeBSD.org>2002-05-15 01:03:32 +0000
committerkbyanc <kbyanc@FreeBSD.org>2002-05-15 01:03:32 +0000
commit134bb77c23716f360ff5ae37d60b5e6068cf6095 (patch)
tree9309e500cf23e04c8e8d52fe90eec08eb3d204a1 /sys/netinet/if_ether.c
parent36cd292d7d6aabeb37153a23e56edf19634ea118 (diff)
downloadFreeBSD-src-134bb77c23716f360ff5ae37d60b5e6068cf6095.zip
FreeBSD-src-134bb77c23716f360ff5ae37d60b5e6068cf6095.tar.gz
Reset token-ring source routing control field on receipt of ethernet frame
without source routing information. This restores the behaviour in this scenario to that of prior to my last commit.
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r--sys/netinet/if_ether.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index 6c8b75a..e562df7 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -722,6 +722,7 @@ match:
m->m_pkthdr.len += rif_len;
} else {
th->iso88025_shost[0] &= ~TR_RII;
+ trld->trld_rcf = 0;
}
m->m_data -= 8;
m->m_len += 8;
OpenPOWER on IntegriCloud