do not check if we have ipv6 to enable ipv6
This commit is contained in:
+2
-1
@@ -378,7 +378,8 @@ async function getIPv6Config() {
|
||||
async function setIPv6Config(enabled) {
|
||||
assert.strictEqual(typeof enabled, 'boolean');
|
||||
|
||||
if (enabled) await sysinfo.getServerIPv6();
|
||||
// we don't validate if server has IPv6 intentionally. our api server could be down, maybe user assigns
|
||||
// ipv6 later, fixed/static address is not defined yet etc
|
||||
await set(exports.IPV6_KEY, enabled ? 'enabled' : ''); // db holds string values only
|
||||
notifyChange(exports.IPV6_KEY, enabled);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user