charon-nm: Set local address to %any so IPv6 may be used as outer address
authorTobias Brunner <tobias@strongswan.org>
Tue, 27 Sep 2016 08:12:53 +0000 (10:12 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 14 Mar 2019 12:42:08 +0000 (13:42 +0100)
src/charon-nm/nm/nm_service.c

index 8452579..9ac9761 100644 (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);