summaryrefslogtreecommitdiff
path: root/usr.sbin/ipsend
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-04-19 19:12:27 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-04-19 19:12:27 +0000
commit299f52b17b8afd2d07faa7fb5d3d638557fd2897 (patch)
treead77fda2c2f8858ee0167481c43fd92fcf3720a7 /usr.sbin/ipsend
parent58e0c1f582fe11183ae7a501eeafbd1fe9c24cc1 (diff)
getopt() returns an int, not a char. (thorpej)
Diffstat (limited to 'usr.sbin/ipsend')
-rw-r--r--usr.sbin/ipsend/ipsend/ipsend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ipsend/ipsend/ipsend.c b/usr.sbin/ipsend/ipsend/ipsend.c
index 84ea17026ab..23d5b0730b1 100644
--- a/usr.sbin/ipsend/ipsend/ipsend.c
+++ b/usr.sbin/ipsend/ipsend/ipsend.c
@@ -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...