mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 10:22:07 +00:00
Merge pull request #7960 from kishorekunal01/bgp_fix_allowas_in
BGP: "no neighbor <peer-group> allowas-in" is not resetting the peer-group member allowas_in[afi][safi].
This commit is contained in:
commit
c600e8a52c
@ -5684,11 +5684,6 @@ int peer_allowas_in_unset(struct peer *peer, afi_t afi, safi_t safi)
|
||||
PEER_FLAG_ALLOWAS_IN))
|
||||
continue;
|
||||
|
||||
/* Skip peers where flag is already disabled. */
|
||||
if (!CHECK_FLAG(member->af_flags[afi][safi],
|
||||
PEER_FLAG_ALLOWAS_IN))
|
||||
continue;
|
||||
|
||||
/* Remove flags and configuration on peer-group member. */
|
||||
UNSET_FLAG(member->af_flags[afi][safi], PEER_FLAG_ALLOWAS_IN);
|
||||
UNSET_FLAG(member->af_flags[afi][safi],
|
||||
|
Loading…
Reference in New Issue
Block a user