mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-26 20:46:20 +00:00
#499 Disabled IPv6 for internal HTTP API by default, was cause issues on some systems.
This commit is contained in:
parent
ae647699a4
commit
3b83fa530c
2 changed files with 4 additions and 2 deletions
|
@ -27,6 +27,8 @@
|
||||||
"api": {
|
"api": {
|
||||||
"port": 0, // port for the miner API https://github.com/xmrig/xmrig/wiki/API
|
"port": 0, // port for the miner API https://github.com/xmrig/xmrig/wiki/API
|
||||||
"access-token": null, // access token for 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
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -53,7 +53,7 @@ static const char *algoNames[] = {
|
||||||
xmrig::CommonConfig::CommonConfig() :
|
xmrig::CommonConfig::CommonConfig() :
|
||||||
m_algorithm(CRYPTONIGHT),
|
m_algorithm(CRYPTONIGHT),
|
||||||
m_adjusted(false),
|
m_adjusted(false),
|
||||||
m_apiIPv6(true),
|
m_apiIPv6(false),
|
||||||
m_apiRestricted(true),
|
m_apiRestricted(true),
|
||||||
m_background(false),
|
m_background(false),
|
||||||
m_colors(true),
|
m_colors(true),
|
||||||
|
|
Loading…
Reference in a new issue