$NetBSD: patch-ah,v 1.1 2000/09/19 20:00:04 agc Exp $ Disable unsafe -w option --- ntop.c 2000/09/19 10:37:40 1.1 +++ ntop.c 2000/09/19 10:38:08 @@ -254,7 +254,7 @@ initIPServices(); #ifndef WIN32 - while ((op = getopt(argc, argv, "df:F:hr:i:p:l:nw:m:")) != EOF) + while ((op = getopt(argc, argv, "df:F:hr:i:p:l:nm:")) != EOF) switch (op) { #ifndef WIN32 @@ -324,6 +324,7 @@ numericFlag++; break; +#if 0 case 'w': if(!isdigit(optarg[0])) { printf("FATAL ERROR: flag -w expects a numeric argument.\n"); @@ -332,6 +333,7 @@ webMode++; webPort = atoi(optarg); break; +#endif default: usage(0);