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

This commit is contained in:
Tobias Brunner 2016-09-27 10:12:53 +02:00
parent 5538e29071
commit 0b117dc960

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);