Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet remove an LBL ifdef that we can't turn on anyway.
details: https://anonhg.NetBSD.org/src/rev/0fbdc3b52030
branches: trunk
changeset: 485012:0fbdc3b52030
user: chs <chs%NetBSD.org@localhost>
date: Sun Apr 16 20:59:49 2000 +0000
description:
remove an LBL ifdef that we can't turn on anyway.
diffstat:
sys/netinet/ip_mroute.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (23 lines):
diff -r 316f2d873a18 -r 0fbdc3b52030 sys/netinet/ip_mroute.c
--- a/sys/netinet/ip_mroute.c Sun Apr 16 20:58:52 2000 +0000
+++ b/sys/netinet/ip_mroute.c Sun Apr 16 20:59:49 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_mroute.c,v 1.48 2000/03/30 13:25:01 augustss Exp $ */
+/* $NetBSD: ip_mroute.c,v 1.49 2000/04/16 20:59:49 chs Exp $ */
/*
* IP multicast forwarding procedures
@@ -1434,13 +1434,9 @@
HTONS(ip->ip_len);
HTONS(ip->ip_off);
ip->ip_sum = 0;
-#if defined(LBL) && !defined(ultrix) && !defined(i386)
- ip->ip_sum = ~oc_cksum((caddr_t)ip, ip->ip_hl << 2, 0);
-#else
mb_copy->m_data += sizeof(multicast_encap_iphdr);
ip->ip_sum = in_cksum(mb_copy, ip->ip_hl << 2);
mb_copy->m_data -= sizeof(multicast_encap_iphdr);
-#endif
if (vifp->v_rate_limit <= 0)
tbf_send_packet(vifp, mb_copy);
Home |
Main Index |
Thread Index |
Old Index