Properly read in ExitInfo's address

pull/1261/head
Stephen Shelton 4 years ago
parent e85105e738
commit c0f58c8159
No known key found for this signature in database
GPG Key ID: EE4BADACCE8B631C

@ -73,7 +73,11 @@ namespace llarp
{
// TODO: read into ipAddress
in6_addr tmp;
return bdecode_ip_string(buf, tmp);
if (not bdecode_ip_string(buf, tmp))
return false;
SockAddr addr(tmp);
ipAddress = IpAddress(addr);
}
if (k == "b")
{

Loading…
Cancel
Save