summaryrefslogtreecommitdiff
path: root/usr.sbin/ipsend/iptest
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-04-19 19:13:46 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-04-19 19:13:46 +0000
commitaea357a6d53f479aae97e13e35bcba4b81da4608 (patch)
treef14d4031902cf0864e6174ae7bef791af9325fcf /usr.sbin/ipsend/iptest
parent299f52b17b8afd2d07faa7fb5d3d638557fd2897 (diff)
getopt() returns an int, not a char. [thorpej]
Diffstat (limited to 'usr.sbin/ipsend/iptest')
-rw-r--r--usr.sbin/ipsend/iptest/iptest.c4
1 files changed, 2 insertions, 2 deletions
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...