improve log message clairity by printing the address not hex

pull/1658/head
Jeff Becker 3 years ago
parent 4199f2f52b
commit 5e761235d6
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -1163,7 +1163,9 @@ namespace llarp
m_AddrToIP[ident] = nextIP;
m_IPToAddr[nextIP] = ident;
m_SNodes[ident] = snode;
llarp::LogInfo(Name(), " mapped ", ident, " to ", nextIP);
var::visit(
[&](auto&& remote) { llarp::LogInfo(Name(), " mapped ", remote, " to ", nextIP); },
addr);
MarkIPActive(nextIP);
return nextIP;
}

Loading…
Cancel
Save