Added --no-igd as an alias for --no-upnp
For compatibility with monerod command line parameters
This commit is contained in:
@@ -154,7 +154,7 @@ Params::Params(int argc, char* argv[])
|
||||
}
|
||||
|
||||
#ifdef WITH_UPNP
|
||||
if (strcmp(argv[i], "--no-upnp") == 0) {
|
||||
if ((strcmp(argv[i], "--no-upnp") == 0) || (strcmp(argv[i], "--no-igd") == 0)) {
|
||||
m_upnp = false;
|
||||
ok = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user