mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 13:46:45 +00:00
bgpd: Set Paths Limit to 0 instead of unsetting the capability
The capability should be untouched, and send 0 (unlimited) instead.
Otherwise, we miss the capability and things are broken later until the
session reset.
Fixes: 72f0e06824
("bgpd: Implement Paths-Limit capability")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
5f50359c8a
commit
56a23f056c
@ -9261,7 +9261,7 @@ DEFPY (no_neighbor_addpath_paths_limit,
|
||||
peer->addpath_paths_limit[afi][safi].send = 0;
|
||||
|
||||
bgp_capability_send(peer, afi, safi, CAPABILITY_CODE_PATHS_LIMIT,
|
||||
CAPABILITY_ACTION_UNSET);
|
||||
CAPABILITY_ACTION_SET);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user