summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index c5d81f96ff..aade3f0404 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -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);