diff --git a/llarp/quic/client.cpp b/llarp/quic/client.cpp index 1dde5fed2..647e05742 100644 --- a/llarp/quic/client.cpp +++ b/llarp/quic/client.cpp @@ -44,7 +44,7 @@ namespace llarp::quic // to try: set ports to 0 Path path{ Address{SockAddr{"::1"sv, huint16_t{0}}, std::nullopt}, - Address{SockAddr{"::1"sv, huint16_t{port}}, std::move(remote)}}; + Address{SockAddr{"::1"sv, huint16_t{pseudo_port}}, std::move(remote)}}; log::debug(logcat, "Connecting to {} with addr_variant {}", path.remote, *path.remote.endpoint); log::debug(logcat, "pseudo_port = {}, port = {} at {}", pseudo_port, port, __LINE__);