charon-nm: Set local address to %any so IPv6 may be used as outer address

This commit is contained in:
Tobias Brunner
2019-03-14 13:42:08 +01:00
parent 5538e29071
commit 0b117dc960
+1 -1
View File
@@ -526,7 +526,7 @@ static gboolean connect_(NMVpnServicePlugin *plugin, NMConnection *connection,
/**
* Set up configurations
*/
ike_cfg = ike_cfg_create(IKEV2, TRUE, encap, "0.0.0.0",
ike_cfg = ike_cfg_create(IKEV2, TRUE, encap, "%any",
charon->socket->get_port(charon->socket, FALSE),
(char*)address, IKEV2_UDP_PORT,
FRAGMENTATION_YES, 0);