getopt() returns an int, not a char. [thorpej]
authorkstailey <kstailey@openbsd.org>
Sat, 19 Apr 1997 19:13:45 +0000 (19:13 +0000)
committerkstailey <kstailey@openbsd.org>
Sat, 19 Apr 1997 19:13:45 +0000 (19:13 +0000)
usr.sbin/ipsend/iptest/iptest.c

index baa023d..85f2d27 100644 (file)
@@ -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...