mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 08:56:13 +00:00
bgpd: do not add default route for flowspec for each FS entry
Because the Flowspec entries are parsed first, then injected to Zebra, there are cases where the install feedback from zebra is not received. This leads to unnecessary add route events, whereas one should be enough. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
2e1f721e65
commit
1a1f4a4c69
@ -1393,7 +1393,7 @@ static void bgp_pbr_policyroute_add_to_zebra(struct bgp *bgp,
|
||||
* it will be suppressed subsequently
|
||||
*/
|
||||
/* ip rule add */
|
||||
if (!bpa->installed) {
|
||||
if (!bpa->installed && !bpa->install_in_progress) {
|
||||
bgp_send_pbr_rule_action(bpa, true);
|
||||
bgp_zebra_announce_default(bgp, nh,
|
||||
AFI_IP, bpa->table_id, true);
|
||||
|
Loading…
Reference in New Issue
Block a user