Merge pull request #18166 from FRRouting/mergify/bp/dev/10.3/pr-18160

bgpd: When removing the prefix list drop the pointer (backport #18160)
This commit is contained in:
Donald Sharp 2025-02-16 15:50:34 -05:00 committed by GitHub
commit bb22e8b24b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2827,6 +2827,8 @@ static int bgp_route_refresh_receive(struct peer_connection *connection,
"%pBP rcvd Remove-All pfxlist ORF request",
peer);
prefix_bgp_orf_remove_all(afi, name);
peer->orf_plist[afi][safi] = prefix_bgp_orf_lookup(afi,
name);
break;
}