summaryrefslogtreecommitdiffhomepage
path: root/mullvad-masque-proxy/src
diff options
context:
space:
mode:
authorJoakim Hulthe <joakim.hulthe@mullvad.net>2025-08-22 14:10:52 +0200
committerJoakim Hulthe <joakim.hulthe@mullvad.net>2025-08-22 14:27:22 +0200
commit89cfebd8f2137c77ec583f5325483ce9fbcd6e45 (patch)
treea3f236030e8b9abd7a18da914c2d1c1f415c2531 /mullvad-masque-proxy/src
parent056774af87263998aae923bc8783c9d46f6f0542 (diff)
downloadmullvadvpn-89cfebd8f2137c77ec583f5325483ce9fbcd6e45.tar.xz
mullvadvpn-89cfebd8f2137c77ec583f5325483ce9fbcd6e45.zip
Use correct addr when figuring out if QUIC uses IPv6
Diffstat (limited to 'mullvad-masque-proxy/src')
-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,