diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-03-28 17:04:04 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-03-28 17:04:04 +0000 |
commit | b9f09f9634daed595596c7f2c8640d605df43e81 (patch) | |
tree | cfebc514cd41fcbe3ab93610416d7a877705be75 /usr.sbin/tcpdrop/tcpdrop.c | |
parent | 499d0f0cb7d5052e362242fc682568b9a82246fb (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.c | 8 |
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); } |