summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/netcat.c
diff options
context:
space:
mode:
authormillert <>2001-05-04 01:38:31 +0000
committermillert <>2001-05-04 01:38:31 +0000
commit776e0d42a9e1391c226b0f1eb8ec0701919aebcf (patch)
tree2b60a8edcc69bde87b075a939f233246cd38dc54 /src/usr.bin/nc/netcat.c
parentd2092adc32c6de492232ba39518f9091db6bc67f (diff)
downloadopenbsd-776e0d42a9e1391c226b0f1eb8ec0701919aebcf.tar.gz
openbsd-776e0d42a9e1391c226b0f1eb8ec0701919aebcf.tar.bz2
openbsd-776e0d42a9e1391c226b0f1eb8ec0701919aebcf.zip
GAPING_SECURITY_HOLE was removed so there is no -e option.
Removed from man page and usage; closes PR 1808
Diffstat (limited to 'src/usr.bin/nc/netcat.c')
-rw-r--r--src/usr.bin/nc/netcat.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/usr.bin/nc/netcat.c b/src/usr.bin/nc/netcat.c
index 73a8512d25..ac4161cf2c 100644
--- a/src/usr.bin/nc/netcat.c
+++ b/src/usr.bin/nc/netcat.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: netcat.c,v 1.19 2001/01/16 20:20:48 ericj Exp $ */ 1/* $OpenBSD: netcat.c,v 1.20 2001/05/04 01:38:31 millert Exp $ */
2 2
3/* Netcat 1.10 RELEASE 960320 3/* Netcat 1.10 RELEASE 960320
4 * 4 *
@@ -1367,9 +1367,8 @@ usage(doexit)
1367 int doexit; 1367 int doexit;
1368{ 1368{
1369 fprintf(stderr, "netcat - [v1.10]\n"); 1369 fprintf(stderr, "netcat - [v1.10]\n");
1370 fprintf(stderr, "nc [-lnrtuvz] [-e command] [-g intermediates]\n"); 1370 fprintf(stderr, "nc [-lnrtuvz] [-g intermediates] [-G hopcount] [-i interval] [-o filename]\n");
1371 fprintf(stderr, " [-G hopcount] [-i interval] [-o filename] [-p source port]\n"); 1371 fprintf(stderr, " [-p source port] [-s ip address] [-w timeout] [hostname] [port[s...]]\n");
1372 fprintf(stderr, " [-s ip address] [-w timeout] [hostname] [port[s...]]\n");
1373 if (doexit) 1372 if (doexit)
1374 exit(1); 1373 exit(1);
1375} 1374}