summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdrop/tcpdrop.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-03-28 17:04:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-03-28 17:04:04 +0000
commitb9f09f9634daed595596c7f2c8640d605df43e81 (patch)
treecfebc514cd41fcbe3ab93610416d7a877705be75 /usr.sbin/tcpdrop/tcpdrop.c
parent499d0f0cb7d5052e362242fc682568b9a82246fb (diff)
flesh out the addresses to make it clear what they are; requested by jmc
Diffstat (limited to 'usr.sbin/tcpdrop/tcpdrop.c')
-rw-r--r--usr.sbin/tcpdrop/tcpdrop.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/tcpdrop/tcpdrop.c b/usr.sbin/tcpdrop/tcpdrop.c
index 578b69ae94c..aa0fc807e95 100644
--- a/usr.sbin/tcpdrop/tcpdrop.c
+++ b/usr.sbin/tcpdrop/tcpdrop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpdrop.c,v 1.6 2007/03/25 17:20:27 deraadt Exp $ */
+/* $OpenBSD: tcpdrop.c,v 1.7 2007/03/28 17:04:03 deraadt Exp $ */
/*
* Copyright (c) 2004 Markus Friedl <markus@openbsd.org>
@@ -73,9 +73,11 @@ main(int argc, char **argv)
port2 = argv[4];
} else {
fail:
- fprintf(stderr, "usage: %s laddr lport faddr fport\n",
+ fprintf(stderr,
+ "usage: %s local-addr local-port remote-addr remote-port\n",
__progname);
- fprintf(stderr, " %s laddr:lport faddr:fport\n",
+ fprintf(stderr,
+ " %s local-addr:local-port remote-addr:remote-port\n",
__progname);
exit(1);
}