From: Renato Westphal Date: Thu, 2 Mar 2023 22:51:51 +0000 (-0300) Subject: ospfd: correctly update outbound filter-list once prefix-list is updated X-Git-Tag: base_9.0~308^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=9629b44f45ecda367ba0ca44fa313efb7ab82328;p=matthieu%2Ffrr.git 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 --- diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c index 46fb653f3a..d321a69668 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++; }