summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJames White <james@jmwhite.co.uk>2020-09-11 08:24:19 +0100
committerJames White <james@jmwhite.co.uk>2020-09-22 07:20:44 +0100
commit4a9062c7b6734125f3c2326b2c36db4dc90e0b62 (patch)
treee212c425374632eee9a9237d5848ba61fe2839de
parenta314b593ec1de84ce0293e18010405ff1ae5ccf6 (diff)
luci-app-mwan3: Update down and up defaults to match mwan3track
Signed-off-by: James White <james@jmwhite.co.uk>
-rw-r--r--applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua
index c30bce5b7..e669a3c7e 100644
--- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua
+++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua
@@ -213,7 +213,7 @@ recovery:value("3600", translatef("%d hour", 1))
down = mwan_interface:option(ListValue, "down", translate("Interface down"),
translate("Interface will be deemed down after this many failed ping tests"))
-down.default = "3"
+down.default = "5"
down:value("1")
down:value("2")
down:value("3")
@@ -227,7 +227,7 @@ down:value("10")
up = mwan_interface:option(ListValue, "up", translate("Interface up"),
translate("Downed interface will be deemed up after this many successful ping tests"))
-up.default = "3"
+up.default = "5"
up:value("1")
up:value("2")
up:value("3")