charon-nm: Fix typo to actually use random NAT-T port
authorTobias Brunner <tobias@strongswan.org>
Wed, 3 May 2017 07:54:52 +0000 (09:54 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 19 May 2017 13:22:51 +0000 (15:22 +0200)
Fixes: af16b5afb0ee ("Use random ports in NetworkManager backend")

src/charon-nm/charon-nm.c

index ca12db8..89aa34d 100644 (file)
@@ -196,7 +196,7 @@ int main(int argc, char *argv[])
 
        /* use random ports to avoid conflicts with regular charon */
        lib->settings->set_int(lib->settings, "charon-nm.port", 0);
-       lib->settings->set_int(lib->settings, "charon-nm.port_natt_t", 0);
+       lib->settings->set_int(lib->settings, "charon-nm.port_nat_t", 0);
 
        DBG1(DBG_DMN, "Starting charon NetworkManager backend (strongSwan "VERSION")");
        if (lib->integrity)