diff options
author | Jeremy Jackson <jerj@coplanar.net> | 2008-12-28 18:57:42 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2009-06-18 23:11:41 +0200 |
commit | c77cffdd69bf08ed54e390a3485cbd5024836a9a (patch) | |
tree | 42225904923a4b3457edd13a0eb84f0ea8581441 /zebra | |
parent | [doc] Removes documentation of nonexistant option. (diff) | |
download | frr-c77cffdd69bf08ed54e390a3485cbd5024836a9a.tar.xz frr-c77cffdd69bf08ed54e390a3485cbd5024836a9a.zip |
[daemons/cleanup] Remove disabled log_mode argument support.
* */*main.c: Seems that the actual code was removed previously, but the
argument processing code remained.
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/main.c | 9 | ||||
-rw-r--r-- | zebra/test_main.c | 7 |
2 files changed, 3 insertions, 13 deletions
diff --git a/zebra/main.c b/zebra/main.c index 61750f1d0..14b0273cb 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -69,7 +69,6 @@ struct option longopts[] = { "batch", no_argument, NULL, 'b'}, { "daemon", no_argument, NULL, 'd'}, { "keep_kernel", no_argument, NULL, 'k'}, - { "log_mode", no_argument, NULL, 'l'}, { "config_file", required_argument, NULL, 'f'}, { "pid_file", required_argument, NULL, 'i'}, { "help", no_argument, NULL, 'h'}, @@ -131,7 +130,6 @@ usage (char *progname, int status) "-i, --pid_file Set process identifier file name\n"\ "-k, --keep_kernel Don't delete old routes which installed by "\ "zebra.\n"\ - "-l, --log_mode Set verbose log mode flag\n"\ "-C, --dryrun Check configuration for validity and exit\n"\ "-A, --vty_addr Set vty's bind address\n"\ "-P, --vty_port Set vty's port number\n"\ @@ -231,9 +229,9 @@ main (int argc, char **argv) int opt; #ifdef HAVE_NETLINK - opt = getopt_long (argc, argv, "bdklf:i:hA:P:ru:g:vs:C", longopts, 0); + opt = getopt_long (argc, argv, "bdkf:i:hA:P:ru:g:vs:C", longopts, 0); #else - opt = getopt_long (argc, argv, "bdklf:i:hA:P:ru:g:vC", longopts, 0); + opt = getopt_long (argc, argv, "bdkf:i:hA:P:ru:g:vC", longopts, 0); #endif /* HAVE_NETLINK */ if (opt == EOF) @@ -254,9 +252,6 @@ main (int argc, char **argv) case 'C': dryrun = 1; break; - case 'l': - /* log_mode = 1; */ - break; case 'f': config_file = optarg; break; diff --git a/zebra/test_main.c b/zebra/test_main.c index 46f73bbe1..e186fea61 100644 --- a/zebra/test_main.c +++ b/zebra/test_main.c @@ -56,7 +56,6 @@ struct option longopts[] = { { "batch", no_argument, NULL, 'b'}, { "daemon", no_argument, NULL, 'd'}, - { "log_mode", no_argument, NULL, 'l'}, { "config_file", required_argument, NULL, 'f'}, { "help", no_argument, NULL, 'h'}, { "vty_addr", required_argument, NULL, 'A'}, @@ -93,7 +92,6 @@ usage (char *progname, int status) "-b, --batch Runs in batch mode\n"\ "-d, --daemon Runs in daemon mode\n"\ "-f, --config_file Set configuration file name\n"\ - "-l, --log_mode Set verbose log mode flag\n"\ "-A, --vty_addr Set vty's bind address\n"\ "-P, --vty_port Set vty's port number\n"\ "-r, --rib_hold Set rib-queue hold time\n"\ @@ -224,7 +222,7 @@ main (int argc, char **argv) { int opt; - opt = getopt_long (argc, argv, "bdlf:hA:P:r:v", longopts, 0); + opt = getopt_long (argc, argv, "bdf:hA:P:r:v", longopts, 0); if (opt == EOF) break; @@ -238,9 +236,6 @@ main (int argc, char **argv) case 'd': daemon_mode = 1; break; - case 'l': - /* log_mode = 1; */ - break; case 'f': config_file = optarg; break; |