summaryrefslogtreecommitdiff
path: root/net/ntop/files/patch-sec1
blob: a8bfdf73ef25a0a26e3f0d4a2466f63f7362ee74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);