diff --git a/client/mozilla/localsocketcontroller.cpp b/client/mozilla/localsocketcontroller.cpp index 8583de4e..54f87a12 100644 --- a/client/mozilla/localsocketcontroller.cpp +++ b/client/mozilla/localsocketcontroller.cpp @@ -125,7 +125,7 @@ void LocalSocketController::activate(const QJsonObject &rawConfig) { json.insert("privateKey", wgConfig.value(amnezia::config_key::client_priv_key)); json.insert("deviceIpv4Address", wgConfig.value(amnezia::config_key::client_ip)); // todo review wg ipv6 -#ifndef Q_OS_WINDOWS +#ifdef Q_OS_MACOS json.insert("deviceIpv6Address", "dead::1"); #endif json.insert("serverPublicKey", wgConfig.value(amnezia::config_key::server_pub_key));