diff --git a/usr.sbin/ipf/ipftest/ipt.c b/usr.sbin/ipf/ipftest/ipt.c index ec4ab9a1a30f..9b75aa793c42 100644 --- a/usr.sbin/ipf/ipftest/ipt.c +++ b/usr.sbin/ipf/ipftest/ipt.c @@ -1,4 +1,4 @@ -/* $NetBSD: ipt.c,v 1.1.1.2 1997/03/29 02:49:46 darrenr Exp $ */ +/* $NetBSD: ipt.c,v 1.2 1997/04/19 06:27:03 thorpej Exp $ */ /* * (C)opyright 1993-1996 by Darren Reed. @@ -44,7 +44,7 @@ #if !defined(lint) && defined(LIBC_SCCS) static char sccsid[] = "@(#)ipt.c 1.19 6/3/96 (C) 1993-1996 Darren Reed"; -static char rcsid[] = "$Id: ipt.c,v 1.1.1.2 1997/03/29 02:49:46 darrenr Exp $"; +static char rcsid[] = "$Id: ipt.c,v 1.2 1997/04/19 06:27:03 thorpej Exp $"; #endif extern char *optarg; @@ -65,7 +65,7 @@ char *argv[]; struct ip *ip; u_long buf[64]; struct ifnet *ifp; - char c; + int c; char *rules = NULL, *datain = NULL, *iface = NULL; int fd, i, dir = 0; diff --git a/usr.sbin/ipf/ipsend/ipsend.c b/usr.sbin/ipf/ipsend/ipsend.c index e45d3ee73adc..530d0cb0f38a 100644 --- a/usr.sbin/ipf/ipsend/ipsend.c +++ b/usr.sbin/ipf/ipsend/ipsend.c @@ -166,8 +166,8 @@ char **argv; tcphdr_t *tcp; ip_t *ip; char *name = argv[0], host[64], *gateway = NULL, *dev = NULL; - char *src = NULL, *dst, c, *s; - int mtu = 1500, olen = 0; + char *src = NULL, *dst, *s; + int c, mtu = 1500, olen = 0; /* * 65535 is maximum packet size...you never know... diff --git a/usr.sbin/ipf/iptest/iptest.c b/usr.sbin/ipf/iptest/iptest.c index c5d48fa83420..515ea1b11dbe 100644 --- a/usr.sbin/ipf/iptest/iptest.c +++ b/usr.sbin/ipf/iptest/iptest.c @@ -101,8 +101,8 @@ char **argv; struct in_addr gwip; ip_t *ip; char *name = argv[0], host[64], *gateway = NULL, *dev = NULL; - char *src = NULL, *dst, c; - int mtu = 1500, tests = 0, pointtest = 0; + char *src = NULL, *dst; + int c, mtu = 1500, tests = 0, pointtest = 0; /* * 65535 is maximum packet size...you never know...