aboutsummaryrefslogtreecommitdiff
path: root/net/ntop
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-08-13 06:31:54 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-08-13 06:31:54 +0000
commit40fc811b12a2f624abe3f64ca715c183b3398e7b (patch)
tree6ff3c98631493af479a854cfa8815908a73a24cb /net/ntop
parent6191a999a4bc1ceac580e856a4579ed1383fb89a (diff)
downloadports-40fc811b12a2f624abe3f64ca715c183b3398e7b.tar.gz
ports-40fc811b12a2f624abe3f64ca715c183b3398e7b.zip
Notes
Diffstat (limited to 'net/ntop')
-rw-r--r--net/ntop/files/patch-sec118
1 files changed, 18 insertions, 0 deletions
diff --git a/net/ntop/files/patch-sec1 b/net/ntop/files/patch-sec1
new file mode 100644
index 000000000000..a8bfdf73ef25
--- /dev/null
+++ b/net/ntop/files/patch-sec1
@@ -0,0 +1,18 @@
+--- ntop.c.orig Wed Apr 28 10:49:00 1999
++++ ntop.c Sat Aug 12 23:19:04 2000
+@@ -325,13 +325,8 @@
+ break;
+
+ case 'w':
+- if(!isdigit(optarg[0])) {
+- printf("FATAL ERROR: flag -w expects a numeric argument.\n");
+- exit(-1);
+- }
+- webMode++;
+- webPort = atoi(optarg);
+- break;
++ fprintf(stderr, "-w mode is disabled for security reasons.\n");
++ exit(-1);
+
+ default:
+ usage(0);