diff --git a/src/config.json b/src/config.json index 858435d2..3013ba62 100644 --- a/src/config.json +++ b/src/config.json @@ -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 } } \ No newline at end of file diff --git a/src/core/CommonConfig.cpp b/src/core/CommonConfig.cpp index cf18d896..8d2eb03a 100644 --- a/src/core/CommonConfig.cpp +++ b/src/core/CommonConfig.cpp @@ -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),