Fix natengine opt passed in proxyspec on command line

This commit is contained in:
Soner Tari 2022-04-06 14:43:41 +03:00
parent 2e8e677bac
commit af6b40b5bf

View File

@ -969,7 +969,7 @@ proxyspec_parse(int *argc, char **argv[], const char *natengine, global_t *globa
} else
if (nat_exist(**argv)) {
/* natengine */
if (proxyspec_set_natengine(spec, natengine) == -1)
if (proxyspec_set_natengine(spec, **argv) == -1)
return -1;
state = 0;
} else {