summaryrefslogtreecommitdiffstats
path: root/zebra/main.c
diff options
context:
space:
mode:
authorJeremy Jackson <jerj@coplanar.net>2008-12-28 18:57:42 +0100
committerPaul Jakma <paul@quagga.net>2009-06-18 23:11:41 +0200
commitc77cffdd69bf08ed54e390a3485cbd5024836a9a (patch)
tree42225904923a4b3457edd13a0eb84f0ea8581441 /zebra/main.c
parent[doc] Removes documentation of nonexistant option. (diff)
downloadfrr-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/main.c')
-rw-r--r--zebra/main.c9
1 files changed, 2 insertions, 7 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;