Bugfix for the reconnection handler.

This commit is contained in:
Gunnar Beutner 2012-05-08 10:22:47 +02:00
parent 63e318383d
commit 8ccc2be319
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ int DiscoveryComponent::DiscoveryTimerHandler(const TimerEventArgs& tea)
}
Endpoint::Ptr endpoint = endpointManager->GetEndpointByIdentity(identity);
if (endpoint) {
if (endpoint && endpoint->IsConnected()) {
/* update LastSeen if we're still connected to this endpoint */
info->LastSeen = now;
} else {