mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
endianness
This commit is contained in:
parent
a5435b9376
commit
53a774a280
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue