Which to "support" rather than "ignore" supernode to avoid double-negative (#942)

This commit is contained in:
Tim Wilkinson 2023-09-20 16:13:34 -07:00 committed by GitHub
parent 7f2059e131
commit 819812f753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,7 @@ if c:get("aredn", "@supernode[0]", "enable") == "1" then
end end
-- Ignore supernodes? -- Ignore supernodes?
if c:get("aredn", "@supernode[0]", "ignore") == "1" then if c:get("aredn", "@supernode[0]", "support") == "0" then
os.exit(0) os.exit(0)
end end

View File

@ -295,10 +295,10 @@ local settings = {
}, },
{ {
category = "Supernode Settings", category = "Supernode Settings",
key = "aredn.@supernode[0].ignore", key = "aredn.@supernode[0].support",
type = "boolean", type = "boolean",
desc = "<b>Ignore any Supernodes</b> found on the mesh <br><br><small>aredn.@supernode[0].ignore</small>", desc = "<b>Use any Supernodes</b> found on the mesh <br><br><small>aredn.@supernode[0].support</small>",
default = "0" default = "1"
}, },
{ {
category = "Network Tools", category = "Network Tools",