Make the options booleans

This commit is contained in:
Tim Wilkinson 2022-08-11 08:30:08 -07:00 committed by Joe AE6XE
parent e1ddbabb85
commit a8d3be4403
1 changed files with 6 additions and 6 deletions

View File

@ -147,8 +147,8 @@ local settings = {
{
category = "WAN Settings",
key = "aredn.@wan[0].olsrd_gw",
type = "string",
desc = "Allow others to use my WAN",
type = "boolean",
desc = "Allow other MESH nodes to use my WAN - not recommended and OFF by default",
default = "0",
postcallback = "changeWANGW()",
needreboot = true
@ -156,16 +156,16 @@ local settings = {
{
category = "WAN Settings",
key = "aredn.@wan[0].lan_dhcp_route",
type = "string",
desc = "Allow LAN devices to accessing WAN",
type = "boolean",
desc = "Allow my LAN devices to access my WAN - ON by default",
default = "1",
needreboot = true
},
{
category = "WAN Settings",
key = "aredn.@wan[0].lan_dhcp_defaultroute",
type = "string",
desc = "Provide default route to LAN devices when WAN access is disabled",
type = "boolean",
desc = "Provide default route to LAN devices even when WAN access is disabled",
default = "0",
needreboot = true
},