aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipf/ipsend/ip.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ipf/ipsend/ip.c')
-rw-r--r--sbin/ipf/ipsend/ip.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/ipf/ipsend/ip.c b/sbin/ipf/ipsend/ip.c
index 14197c382260..8cdfca893d15 100644
--- a/sbin/ipf/ipsend/ip.c
+++ b/sbin/ipf/ipsend/ip.c
@@ -4,10 +4,6 @@
*
* See the IPFILTER.LICENCE file for details on licencing.
*/
-#if !defined(lint)
-static const char sccsid[] = "%W% %G% (C)1995";
-static const char rcsid[] = "@(#)$Id$";
-#endif
#include <sys/param.h>
#include <sys/types.h>
#include <netinet/in_systm.h>
@@ -265,7 +261,7 @@ send_tcp(int nfd, int mtu, ip_t *ip, struct in_addr gwip)
i = sizeof(struct tcpiphdr) / sizeof(long);
- if ((t2->th_flags == TH_SYN) && !ntohs(ip->ip_off) &&
+ if ((__tcp_get_flags(t2) == TH_SYN) && !ntohs(ip->ip_off) &&
(lbuf[i] != htonl(0x020405b4))) {
lbuf[i] = htonl(0x020405b4);
bcopy((char *)ip + hlen + thlen, (char *)ip + hlen + thlen + 4,