Remove ipv6 address for Linux WG/AWG interface
This commit is contained in:
parent
13aadbda64
commit
9886987e68
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ void LocalSocketController::activate(const QJsonObject &rawConfig) {
|
||||||
json.insert("privateKey", wgConfig.value(amnezia::config_key::client_priv_key));
|
json.insert("privateKey", wgConfig.value(amnezia::config_key::client_priv_key));
|
||||||
json.insert("deviceIpv4Address", wgConfig.value(amnezia::config_key::client_ip));
|
json.insert("deviceIpv4Address", wgConfig.value(amnezia::config_key::client_ip));
|
||||||
// todo review wg ipv6
|
// todo review wg ipv6
|
||||||
#ifndef Q_OS_WINDOWS
|
#ifdef Q_OS_MACOS
|
||||||
json.insert("deviceIpv6Address", "dead::1");
|
json.insert("deviceIpv6Address", "dead::1");
|
||||||
#endif
|
#endif
|
||||||
json.insert("serverPublicKey", wgConfig.value(amnezia::config_key::server_pub_key));
|
json.insert("serverPublicKey", wgConfig.value(amnezia::config_key::server_pub_key));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue