mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
make path short name look nicer
This commit is contained in:
parent
145efaf0bb
commit
fae86281e9
1 changed files with 2 additions and 2 deletions
|
@ -440,8 +440,8 @@ namespace llarp
|
|||
ctx->router = m_router;
|
||||
auto self = GetSelf();
|
||||
ctx->pathset = self;
|
||||
std::string path_shortName = "[" + m_router->ShortName() + "-";
|
||||
path_shortName += m_router->NextPathBuildNumber() + "]";
|
||||
std::string path_shortName = "[path " + m_router->ShortName() + "-";
|
||||
path_shortName = path_shortName + std::to_string(m_router->NextPathBuildNumber()) + "]";
|
||||
auto path = std::make_shared< path::Path >(hops, self.get(), roles,
|
||||
std::move(path_shortName));
|
||||
LogInfo(Name(), " build ", path->ShortName(), ": ", path->HopsString());
|
||||
|
|
Loading…
Reference in a new issue