mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 11:18:52 +00:00
bgpd: Removing "neighbor <peer-group> allowas-in"
Unconfig not resetting the peer-group member allowas_in[afi][safi] This is causing remote route to be accept. Signed-off-by: Kishore Kunal <kishorekunal01@broadcom.com>
This commit is contained in:
parent
776a2f8666
commit
e92882c60e
@ -5684,11 +5684,6 @@ int peer_allowas_in_unset(struct peer *peer, afi_t afi, safi_t safi)
|
|||||||
PEER_FLAG_ALLOWAS_IN))
|
PEER_FLAG_ALLOWAS_IN))
|
||||||
continue;
|
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. */
|
/* 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], PEER_FLAG_ALLOWAS_IN);
|
||||||
UNSET_FLAG(member->af_flags[afi][safi],
|
UNSET_FLAG(member->af_flags[afi][safi],
|
||||||
|
Loading…
Reference in New Issue
Block a user