diff --git a/connection_manager.go b/connection_manager.go index 9a51fa2..ea0ffc0 100644 --- a/connection_manager.go +++ b/connection_manager.go @@ -230,12 +230,9 @@ func (n *connectionManager) HandleDeletionTick(now time.Time) { hostinfo, err := n.hostMap.QueryVpnIp(vpnIp) if err != nil { n.l.Debugf("Not found in hostmap: %s", vpnIp) - - if !n.intf.disconnectInvalid { - n.ClearIP(vpnIp) - n.ClearPendingDeletion(vpnIp) - continue - } + n.ClearIP(vpnIp) + n.ClearPendingDeletion(vpnIp) + continue } if n.handleInvalidCertificate(now, vpnIp, hostinfo) {