summaryrefslogtreecommitdiffhomepage
path: root/pkg/server/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server/server.go')
-rw-r--r--pkg/server/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/server/server.go b/pkg/server/server.go
index 2ee49ec8..1b49880d 100644
--- a/pkg/server/server.go
+++ b/pkg/server/server.go
@@ -1296,6 +1296,7 @@ func (s *BgpServer) deleteDynamicNeighbor(peer *peer, oldState bgp.FSMState, e *
peer.fsm.lock.RUnlock()
cleanInfiniteChannel(peer.fsm.outgoingCh)
cleanInfiniteChannel(peer.fsm.incomingCh)
+ s.delIncoming(peer.fsm.incomingCh)
s.broadcastPeerState(peer, oldState, e)
}