mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-09 00:00:53 -04:00
charon-nm: Fix typo to actually use random NAT-T port
Fixes: af16b5afb0ee ("Use random ports in NetworkManager backend")
This commit is contained in:
parent
0727c8a533
commit
f6d0965a4c
@ -196,7 +196,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
/* use random ports to avoid conflicts with regular charon */
|
/* 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", 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")");
|
DBG1(DBG_DMN, "Starting charon NetworkManager backend (strongSwan "VERSION")");
|
||||||
if (lib->integrity)
|
if (lib->integrity)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user