diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2016-11-08 23:56:34 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2016-11-09 14:00:48 +0100 |
commit | 46d5d8ec829a3b2daba6fe86463ece550851fc38 (patch) | |
tree | 0fbb43f24a89b68c6106b60cf98f41b1c5d5f6ed /lib | |
parent | vtysh: set config file permissions (diff) | |
download | frr-46d5d8ec829a3b2daba6fe86463ece550851fc38.tar.xz frr-46d5d8ec829a3b2daba6fe86463ece550851fc38.zip |
watchquagga: add ZLOG_WATCHQUAGGA
watchquagga logs as "NONE", which will also become visible in vtysh for
error messages. Add "WATCHQUAGGA" log target.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/log.c | 3 | ||||
-rw-r--r-- | lib/log.h | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -58,7 +58,8 @@ const char *zlog_proto_names[] = "LDP", "ISIS", "PIM", - "RFP", + "RFP", + "WATCHQUAGGA", NULL, }; @@ -59,6 +59,7 @@ typedef enum ZLOG_ISIS, ZLOG_PIM, ZLOG_RFP, + ZLOG_WATCHQUAGGA, } zlog_proto_t; /* If maxlvl is set to ZLOG_DISABLED, then no messages will be sent |