From bfb602e2ffe8284c969d28693f74400ac1cd31a9 Mon Sep 17 00:00:00 2001 From: David Schweizer Date: Fri, 14 Aug 2020 06:50:40 +0200 Subject: [PATCH] bgpd: removal of double statement. This fix removes an unnecessary second occurrence of a statement. Signed-off-by: David Schweizer --- bgpd/bgpd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 66f7fa1d00..12817a0837 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -3975,9 +3975,6 @@ static void peer_flag_modify_action(struct peer *peer, uint32_t flag) peer->host); } - if (CHECK_FLAG(peer->sflags, PEER_STATUS_NSF_WAIT)) - peer_nsf_stop(peer); - if (BGP_IS_VALID_STATE_FOR_NOTIF(peer->status)) { char *msg = peer->tx_shutdown_message; size_t msglen; -- 2.39.5