diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-04-13 10:02:32 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-04-13 12:56:19 -0400 |
| commit | ad1dabd5c3de7b000fd4a7eef3d3a154ae197069 (patch) | |
| tree | 6155fb92ae7dd2bc1ee395dba24dc86fab354a66 /pbrd/pbr_main.c | |
| parent | 82557cf0043b0e73adecd4daedfaf60cf262839c (diff) | |
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 <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pbrd/pbr_main.c')
| -rw-r--r-- | pbrd/pbr_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |
