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

index 84ea170..23d5b07 100644 (file)
@@ -162,8 +162,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     mtu = 1500, olen = 0, c;
 
        /*
         * 65535 is maximum packet size...you never know...