mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-29 16:24:55 +00:00
Merge pull request #9710 from idryzhov/bgp-distribute-list-update
bgpd: fix access-list update callback
This commit is contained in:
commit
b1fb03f8b1
@ -6266,7 +6266,8 @@ static void peer_distribute_update(struct access_list *access)
|
|||||||
|
|
||||||
for (ALL_LIST_ELEMENTS(bm->bgp, mnode, mnnode, bgp)) {
|
for (ALL_LIST_ELEMENTS(bm->bgp, mnode, mnnode, bgp)) {
|
||||||
if (access->name)
|
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);
|
access->name, 0, 0);
|
||||||
for (ALL_LIST_ELEMENTS(bgp->peer, node, nnode, peer)) {
|
for (ALL_LIST_ELEMENTS(bgp->peer, node, nnode, peer)) {
|
||||||
FOREACH_AFI_SAFI (afi, safi) {
|
FOREACH_AFI_SAFI (afi, safi) {
|
||||||
|
Loading…
Reference in New Issue
Block a user