Merge pull request #9710 from idryzhov/bgp-distribute-list-update

bgpd: fix access-list update callback
This commit is contained in:
Donatas Abraitis 2021-10-02 20:12:47 +03:00 committed by GitHub
commit b1fb03f8b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6266,7 +6266,8 @@ static void peer_distribute_update(struct access_list *access)
for (ALL_LIST_ELEMENTS(bm->bgp, mnode, mnnode, bgp)) {
if (access->name)
update_group_policy_update(bgp, BGP_POLICY_FILTER_LIST,
update_group_policy_update(bgp,
BGP_POLICY_DISTRIBUTE_LIST,
access->name, 0, 0);
for (ALL_LIST_ELEMENTS(bgp->peer, node, nnode, peer)) {
FOREACH_AFI_SAFI (afi, safi) {