mirror of https://github.com/aredn/aredn.git
Which to "support" rather than "ignore" supernode to avoid double-negative (#942)
This commit is contained in:
parent
7f2059e131
commit
819812f753
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue