summaryrefslogtreecommitdiff
path: root/lib/libfrr.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-06-13 17:46:29 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2019-06-19 17:20:24 -0400
commitf73126c31acdd496dcc88c69059a5e0103d6a2ff (patch)
treea104f3a5dbe7f6f32e87b3b7b41fa73692cc8519 /lib/libfrr.c
parentf9ed934c7f1052ca5700c09e2aece71df3f1d2f1 (diff)
lib,vtysh: Add vtysh commands for log-filter
Add vtysh commands to add/del/clear/show filters across all daemons and independently on each one. Add automake and clippy boilerplate for those commands as well. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/libfrr.c')
-rw-r--r--lib/libfrr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libfrr.c b/lib/libfrr.c
index ed784fc73a..3294a61295 100644
--- a/lib/libfrr.c
+++ b/lib/libfrr.c
@@ -31,6 +31,7 @@
#include "command.h"
#include "version.h"
#include "memory_vty.h"
+#include "log_vty.h"
#include "zclient.h"
#include "log_int.h"
#include "module.h"
@@ -677,6 +678,7 @@ struct thread_master *frr_init(void)
vty_init(master, di->log_always);
memory_init();
+ log_filter_cmd_init();
log_ref_init();
lib_error_init();