Remove crufty LBL ifdef that only applies to Suns.
Submitted by: Craig Leres <leres@ee.lbl.gov>
This commit is contained in:
parent
989cae743a
commit
407529c04f
@ -9,7 +9,7 @@
|
||||
* Modified by Bill Fenner, PARC, April 1995
|
||||
*
|
||||
* MROUTING Revision: 3.5
|
||||
* $Id: ip_mroute.c,v 1.38 1997/02/21 18:34:58 wollman Exp $
|
||||
* $Id: ip_mroute.c,v 1.39 1997/03/24 11:33:28 bde Exp $
|
||||
*/
|
||||
|
||||
#include "opt_mrouting.h"
|
||||
@ -1609,13 +1609,9 @@ encap_send(ip, vifp, m)
|
||||
HTONS(ip->ip_len);
|
||||
HTONS(ip->ip_off);
|
||||
ip->ip_sum = 0;
|
||||
#if defined(LBL) && !defined(ultrix)
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user