summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mullvad-masque-proxy/src/client/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-masque-proxy/src/client/mod.rs b/mullvad-masque-proxy/src/client/mod.rs
index e9d19fabf0..32983ccdef 100644
--- a/mullvad-masque-proxy/src/client/mod.rs
+++ b/mullvad-masque-proxy/src/client/mod.rs
@@ -176,7 +176,7 @@ impl Client {
Self::validate_mtu(config.mtu, config.target_addr)?;
- let max_udp_payload_size = compute_udp_payload_size(config.mtu, config.target_addr);
+ let max_udp_payload_size = compute_udp_payload_size(config.mtu, config.server_addr);
let endpoint = Self::setup_quic_endpoint(
config.local_addr,