diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-08-24 19:50:21 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-08-24 19:50:21 +0200 |
commit | c8434f3b350527ddf82a20c7a7a08f1bc34966c2 (patch) | |
tree | a2564964bb7222bd909e62fac4c437cee309b172 /watchquagga | |
parent | Add missing vtysh commands (diff) | |
download | frr-c8434f3b350527ddf82a20c7a7a08f1bc34966c2.tar.xz frr-c8434f3b350527ddf82a20c7a7a08f1bc34966c2.zip |
Fix watchquagga to watch just one daemon
Ticket: CM-6669
Reviewed by: CCR-3249
Testing: See Bug
I believe in the past it made no sense to have only 1 quagga daemon running(zebra),
since it would just handle interface configuration and static routes, both of which
would be better handled through the linux cli.
Now that we have added recursive static routes and the ability to handle static
mpls labels to zebra, there are use cases where zebra would be the only be running.
This change allows watchquagga to behave with this setup.
Diffstat (limited to 'watchquagga')
-rw-r--r-- | watchquagga/watchquagga.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/watchquagga/watchquagga.c b/watchquagga/watchquagga.c index 1e930f401..0cc2b46a3 100644 --- a/watchquagga/watchquagga.c +++ b/watchquagga/watchquagga.c @@ -1324,12 +1324,6 @@ main(int argc, char **argv) mode_str[gs.mode],special); return usage(progname,1); } - if (gs.special && (gs.numdaemons < 2)) - { - fprintf(stderr,"Mode [%s] does not make sense with only 1 daemon " - "to watch.\n",mode_str[gs.mode]); - return usage(progname,1); - } zlog_default = openzlog(progname, ZLOG_NONE, 0, LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON); |