Misc aesthetic tweaks

pull/1248/head
Stephen Shelton 4 years ago
parent 7d83611a0a
commit f8439dab61
No known key found for this signature in database
GPG Key ID: EE4BADACCE8B631C

@ -244,8 +244,6 @@ namespace llarp
assert(name != "*"); // handled by defineOption("bind", "*", ...) above assert(name != "*"); // handled by defineOption("bind", "*", ...) above
m_InboundLinks.emplace_back(std::move(info)); m_InboundLinks.emplace_back(std::move(info));
return true;
}); });
} }

@ -469,7 +469,7 @@ namespace llarp
{ {
LogError("No bootstrap files specified in config file, and the default"); LogError("No bootstrap files specified in config file, and the default");
LogError("bootstrap file ", defaultBootstrapFile, " does not exist."); LogError("bootstrap file ", defaultBootstrapFile, " does not exist.");
LogError("Please provide a bootstrap file (e.g. run 'lokinet-bootstrap'"); LogError("Please provide a bootstrap file (e.g. run 'lokinet-bootstrap)'");
throw std::runtime_error("No bootstrap files available."); throw std::runtime_error("No bootstrap files available.");
} }
} }
@ -1241,8 +1241,9 @@ namespace llarp
for (const auto af : afs) for (const auto af : afs)
{ {
if (!link->Configure(netloop(), "*", af, m_OutboundPort)) if (not link->Configure(netloop(), "*", af, m_OutboundPort))
continue; continue;
_linkManager.AddLink(std::move(link), false); _linkManager.AddLink(std::move(link), false);
return true; return true;
} }

Loading…
Cancel
Save