* check router info addresses for nullptr

* Request LS before expiration for smoother handover
This commit is contained in:
Jeff Becker 2016-07-22 09:56:17 -04:00
parent a0144f093f
commit eaac21cda1
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
6 changed files with 37 additions and 3 deletions

View file

@ -768,6 +768,7 @@ namespace transport
auto& addresses = context.GetRouterInfo ().GetAddresses ();
for (auto address: addresses)
{
if (!address) continue;
if (address->transportStyle == i2p::data::RouterInfo::eTransportNTCP)
{
if (address->host.is_v4())