From 4c6ef32d72cec5673d2cbf7b67ea25fd5528717b Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 6 Feb 2016 08:52:02 -0500 Subject: [PATCH] fixed #369 --- NetDb.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NetDb.cpp b/NetDb.cpp index 0cbdce30..70b33f7f 100644 --- a/NetDb.cpp +++ b/NetDb.cpp @@ -316,7 +316,8 @@ namespace data const std::string& fullPath = it1->path(); #endif auto r = std::make_shared(fullPath); - if (!r->IsUnreachable () && (!r->UsesIntroducer () || ts < r->GetTimestamp () + 3600*1000LL)) // 1 hour + if (r->GetRouterIdentity () && !r->IsUnreachable () && + (!r->UsesIntroducer () || ts < r->GetTimestamp () + 3600*1000LL)) // 1 hour { r->DeleteBuffer (); r->ClearProperties (); // properties are not used for regular routers