From: kstailey Date: Sat, 19 Apr 1997 19:13:45 +0000 (+0000) Subject: getopt() returns an int, not a char. [thorpej] X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bff607b08b18d19a81a346228dd2b90396bd6419;p=openbsd getopt() returns an int, not a char. [thorpej] --- diff --git a/usr.sbin/ipsend/iptest/iptest.c b/usr.sbin/ipsend/iptest/iptest.c index baa023d6b8a..85f2d27d542 100644 --- a/usr.sbin/ipsend/iptest/iptest.c +++ b/usr.sbin/ipsend/iptest/iptest.c @@ -95,8 +95,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, *s; - int mtu = 1500, tests = 0, pointtest = 0; + char *src = NULL, *dst, *s; + int mtu = 1500, tests = 0, pointtest = 0, c; /* * 65535 is maximum packet size...you never know...