#499 Disabled IPv6 for internal HTTP API by default, was cause issues on some systems.

This commit is contained in:
XMRig 2018-04-07 01:17:58 +07:00
parent ae647699a4
commit 3b83fa530c
2 changed files with 4 additions and 2 deletions

View file

@ -27,6 +27,8 @@
"api": {
"port": 0, // port for the miner API https://github.com/xmrig/xmrig/wiki/API
"access-token": null, // access token for API
"worker-id": null // custom worker-id for API
"worker-id": null, // custom worker-id for API
"ipv6": false,
"restricted": true
}
}

View file

@ -53,7 +53,7 @@ static const char *algoNames[] = {
xmrig::CommonConfig::CommonConfig() :
m_algorithm(CRYPTONIGHT),
m_adjusted(false),
m_apiIPv6(true),
m_apiIPv6(false),
m_apiRestricted(true),
m_background(false),
m_colors(true),