mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-01 01:01:09 +00:00
Merge pull request #6986 from achernavin22/bgp_reset_sess_if_ebgp_multihop
bgpd: reset session if ebgp-multihop is set and no session established
This commit is contained in:
commit
b86a57c965
@ -4441,7 +4441,7 @@ int peer_ebgp_multihop_set(struct peer *peer, int ttl)
|
||||
peer->ttl = ttl;
|
||||
|
||||
if (!CHECK_FLAG(peer->sflags, PEER_STATUS_GROUP)) {
|
||||
if (peer->fd >= 0 && peer->sort != BGP_PEER_IBGP) {
|
||||
if (peer->sort != BGP_PEER_IBGP) {
|
||||
if (BGP_IS_VALID_STATE_FOR_NOTIF(peer->status))
|
||||
bgp_notify_send(peer, BGP_NOTIFY_CEASE,
|
||||
BGP_NOTIFY_CEASE_CONFIG_CHANGE);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user