diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2022-02-15 17:08:32 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2022-02-18 10:46:05 +0100 |
commit | 51c3a7deed7fc5a2e3bb7eff1c327bfa7020f8c8 (patch) | |
tree | 7d09d75c3de700edb4bcf391899e20a6cb120611 /bgpd/bgp_updgrp_adv.c | |
parent | Merge pull request #10577 from donaldsharp/speeling (diff) | |
download | frr-51c3a7deed7fc5a2e3bb7eff1c327bfa7020f8c8.tar.xz frr-51c3a7deed7fc5a2e3bb7eff1c327bfa7020f8c8.zip |
bgpd: Allow setting attributes over route-maps for conditional advertisements
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'bgpd/bgp_updgrp_adv.c')
-rw-r--r-- | bgpd/bgp_updgrp_adv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c index dd140e48a..97b32643b 100644 --- a/bgpd/bgp_updgrp_adv.c +++ b/bgpd/bgp_updgrp_adv.c @@ -691,7 +691,7 @@ void subgroup_announce_table(struct update_subgroup *subgrp, safi)) { if (subgroup_announce_check(dest, ri, subgrp, dest_p, &attr, - false)) { + NULL)) { /* Check if route can be advertised */ if (advertise) { if (!bgp_check_withdrawal(bgp, @@ -910,7 +910,7 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw) if (subgroup_announce_check( dest, pi, subgrp, bgp_dest_get_prefix(dest), - &attr, false)) + &attr, NULL)) bgp_adj_out_set_subgroup( dest, subgrp, &attr, pi); |