]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: correctly update outbound filter-list once prefix-list is updated
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 2 Mar 2023 22:51:51 +0000 (19:51 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Thu, 2 Mar 2023 22:38:03 +0000 (19:38 -0300)
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>
ospfd/ospf_zebra.c

index 46fb653f3adf1a66b0707727f2bcd853f2f4cd26..d321a69668723336607ca29c2bcf652b4d802a8d 100644 (file)
@@ -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++;
                        }