summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_zebra.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2023-03-02 23:51:51 +0100
committerRenato Westphal <renato@opensourcerouting.org>2023-03-02 23:38:03 +0100
commit9629b44f45ecda367ba0ca44fa313efb7ab82328 (patch)
tree366a673fe60b8d8f6f6c6c53cc1cd673d3b2fd9b /ospfd/ospf_zebra.c
parentMerge pull request #12760 from opensourcerouting/fix/switch_to_pr_for_commitlint (diff)
downloadfrr-9629b44f45ecda367ba0ca44fa313efb7ab82328.tar.xz
frr-9629b44f45ecda367ba0ca44fa313efb7ab82328.zip
ospfd: correctly update outbound filter-list once prefix-list is updated
Fix obvious bug where the wrong area filter-lists were being updated in response to a prefix-list update. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r--ospfd/ospf_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index 46fb653f3..d321a6966 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -1787,7 +1787,7 @@ static void ospf_prefix_list_update(struct prefix_list *plist)
&& strcmp(PREFIX_NAME_OUT(area),
prefix_list_name(plist))
== 0) {
- PREFIX_LIST_IN(area) = prefix_list_lookup(
+ PREFIX_LIST_OUT(area) = prefix_list_lookup(
AFI_IP, PREFIX_NAME_OUT(area));
abr_inv++;
}