From ad1dabd5c3de7b000fd4a7eef3d3a154ae197069 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 13 Apr 2018 10:02:32 -0400 Subject: [PATCH] pbrd: Allow PBR to ignore Access List commands PBR is hooked up to receive access-list commands automatically, as are all daemons, add the bit of code to allow the PBR daemon to safely receive the command and ignore it for the moment. Ticket: CM-20569 Signed-off-by: Donald Sharp --- pbrd/pbr_main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pbrd/pbr_main.c b/pbrd/pbr_main.c index 638e284a1a..ba09621083 100644 --- a/pbrd/pbr_main.c +++ b/pbrd/pbr_main.c @@ -152,6 +152,11 @@ int main(int argc, char **argv, char **envp) pbr_nhgroup_del_nexthop_cb, pbr_nhgroup_delete_cb); + /* + * So we safely ignore these commands since + * we are getting them at this point in time + */ + access_list_init(); pbr_nht_init(); pbr_map_init(); pbr_zebra_init(); -- 2.39.5