1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/net/ntop/files/patch-sec1
2000-08-13 06:31:54 +00:00

19 lines
431 B
Plaintext

--- 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);