summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6d.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2021-05-07 20:27:01 +0200
committerGitHub <noreply@github.com>2021-05-07 20:27:01 +0200
commitd2b7ab94454b8adba8ceec91fe9ac8b8714b6c9b (patch)
treee1ab06c34f930e079e81b69911672d41b886aeb3 /ospf6d/ospf6d.c
parentMerge pull request #8632 from wesleycoakley/le-32-128-fix (diff)
parentospf6d: Fix when an "export-list" or "filter-list out" is applied. (diff)
downloadfrr-d2b7ab94454b8adba8ceec91fe9ac8b8714b6c9b.tar.xz
frr-d2b7ab94454b8adba8ceec91fe9ac8b8714b6c9b.zip
Merge pull request #8347 from volta-networks/fix_ospv6_filter_debug
ospf6d: Fix when an "export-list" or "filter-list out" is configured
Diffstat (limited to 'ospf6d/ospf6d.c')
-rw-r--r--ospf6d/ospf6d.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c
index a2f27ec3b..da8c695f6 100644
--- a/ospf6d/ospf6d.c
+++ b/ospf6d/ospf6d.c
@@ -25,6 +25,7 @@
#include "vty.h"
#include "command.h"
#include "plist.h"
+#include "filter.h"
#include "ospf6_proto.h"
#include "ospf6_top.h"
@@ -1398,8 +1399,11 @@ void ospf6_init(struct thread_master *master)
ospf6_asbr_init();
ospf6_abr_init();
+ /* initialize hooks for modifying filter rules */
prefix_list_add_hook(ospf6_plist_add);
prefix_list_delete_hook(ospf6_plist_del);
+ access_list_add_hook(ospf6_filter_update);
+ access_list_delete_hook(ospf6_filter_update);
ospf6_bfd_init();
install_node(&debug_node);