From 4feb4d9dffa59dbc797223e4b90d0fc0d6532f20 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 4 Jun 2019 21:38:11 -0400 Subject: [PATCH] bfdd: Modify bfdd to quietly accept access-lists The `access-list ...` command was causing bfdd to return 'unknown commands'. Make bfdd at least cognizant of access-lists enough to not create strange error messages Signed-off-by: Donald Sharp --- bfdd/bfdd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bfdd/bfdd.c b/bfdd/bfdd.c index 6023b5e4f0..77fcb2b0a3 100644 --- a/bfdd/bfdd.c +++ b/bfdd/bfdd.c @@ -20,6 +20,8 @@ #include +#include "filter.h" + #include "bfd.h" #include "lib/version.h" @@ -208,6 +210,8 @@ int main(int argc, char *argv[]) /* Initialize BFD data structures. */ bfd_initialize(); + access_list_init(); + /* Initialize zebra connection. */ bfdd_zclient_init(&bfdd_privs);