summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_fil.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-07 22:00:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-07 22:00:35 +0000
commit6f58780a6184cf619f657834b3e7ead2235ab291 (patch)
treed11d3943c960dc4d1bae629371a1b3e5e7b2bab1 /sys/netinet/ip_fil.c
parentd515a8e6303faf856b96d9c4aee87efbb7629ca0 (diff)
I do not believe this
Diffstat (limited to 'sys/netinet/ip_fil.c')
-rw-r--r--sys/netinet/ip_fil.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/netinet/ip_fil.c b/sys/netinet/ip_fil.c
index ed26ec6c7dc..ad7890d73b9 100644
--- a/sys/netinet/ip_fil.c
+++ b/sys/netinet/ip_fil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_fil.c,v 1.23 1999/04/22 16:12:40 niklas Exp $ */
+/* $OpenBSD: ip_fil.c,v 1.24 1999/06/07 22:00:32 deraadt Exp $ */
/*
* Copyright (C) 1993-1998 by Darren Reed.
*
@@ -8,7 +8,7 @@
*/
#if !defined(lint)
static const char sccsid[] = "@(#)ip_fil.c 2.41 6/5/96 (C) 1993-1995 Darren Reed";
-static const char rcsid[] = "@(#)$Id: ip_fil.c,v 1.23 1999/04/22 16:12:40 niklas Exp $";
+static const char rcsid[] = "@(#)$Id: ip_fil.c,v 1.24 1999/06/07 22:00:32 deraadt Exp $";
#endif
#ifndef SOLARIS
@@ -1028,11 +1028,9 @@ frdest_t *fdp;
* If small enough for interface, can just send directly.
*/
if (ip->ip_len <= ifp->if_mtu) {
-# ifndef sparc
ip->ip_id = htons(ip->ip_id);
ip->ip_len = htons(ip->ip_len);
ip->ip_off = htons(ip->ip_off);
-# endif
if (!ip->ip_sum)
ip->ip_sum = in_cksum(m, hlen);
# if BSD >= 199306
@@ -1098,9 +1096,7 @@ frdest_t *fdp;
error = ENOBUFS; /* ??? */
goto sendorfree;
}
-# ifndef sparc
mhip->ip_off = htons((u_short)mhip->ip_off);
-# endif
mhip->ip_sum = 0;
mhip->ip_sum = in_cksum(m, mhlen);
*mnext = m;