1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

endianness

This commit is contained in:
dan 2023-03-08 16:19:42 -08:00
parent a5435b9376
commit 53a774a280

View file

@ -732,7 +732,7 @@ namespace llarp::quic
// connection
if (auto conn = static_cast<quic::Client&>(*ep).get_connection())
{
remote_port = huint16_t{conn->path.remote.port().n};
remote_port = llarp::net::ToHost(conn->path.remote.port());
log::debug(logcat, "remote port is {}", remote_port);
}
else