forked from Mirror/frr
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>
This commit is contained in:
parent
48cdfc16dd
commit
9629b44f45
|
@ -1787,7 +1787,7 @@ static void ospf_prefix_list_update(struct prefix_list *plist)
|
||||||
&& strcmp(PREFIX_NAME_OUT(area),
|
&& strcmp(PREFIX_NAME_OUT(area),
|
||||||
prefix_list_name(plist))
|
prefix_list_name(plist))
|
||||||
== 0) {
|
== 0) {
|
||||||
PREFIX_LIST_IN(area) = prefix_list_lookup(
|
PREFIX_LIST_OUT(area) = prefix_list_lookup(
|
||||||
AFI_IP, PREFIX_NAME_OUT(area));
|
AFI_IP, PREFIX_NAME_OUT(area));
|
||||||
abr_inv++;
|
abr_inv++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue