diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua
index 4b1a070d1b..14bf1384f7 100644
--- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua
+++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua
@@ -8,37 +8,37 @@ dsp = require "luci.dispatcher"
function interfaceWarnings(overview, count)
local warnings = ""
if count <= 250 then
- warnings = string.format("%s",
+ warnings = string.format("%s
",
translatef("There are currently %d of 250 supported interfaces configured", count)
)
else
- warnings = string.format("%s",
+ warnings = string.format("%s
",
translatef("WARNING: %d interfaces are configured exceeding the maximum of 250!", count)
)
end
for i, k in pairs(overview) do
if overview[i]["network"] == false then
- warnings = warnings .. string.format("%s",
+ warnings = warnings .. string.format("%s
",
translatef("WARNING: Interface %s are not found in /etc/config/network", i)
)
end
if overview[i]["default_route"] == false then
- warnings = warnings .. string.format("%s",
+ warnings = warnings .. string.format("%s
",
translatef("WARNING: Interface %s has no default route in the main routing table", i)
)
end
if overview[i]["reliability"] == false then
- warnings = warnings .. string.format("%s",
+ warnings = warnings .. string.format("%s
",
translatef("WARNING: Interface %s has a higher reliability " ..
"requirement than tracking hosts (%d)", i, overview[i]["tracking"])
)
end
if overview[i]["duplicate_metric"] == true then
- warnings = warnings .. string.format("%s",
+ warnings = warnings .. string.format("%s
",
translatef("WARNING: Interface %s has a duplicate metric %s configured", i, overview[i]["metric"])
)
end
diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua
index 6f87a3d750..4c6e21003e 100644
--- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua
+++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua
@@ -23,7 +23,11 @@ f = m5:section(SimpleSection, nil,
"
" ..
"There are three main environment variables that are passed to this script.
" ..
"
" ..
- "$ACTION Either \"ifup\" or \"ifdown\"
" ..
+ "$ACTION
" ..
+ "* \"ifup\" Is called by netifd and mwan3track
" ..
+ "* \"ifdown\" Is called by netifd and mwan3track
" ..
+ "* \"connected\" Is only called by mwan3track if tracking was successful
" ..
+ "* \"disconnected\" Is only called by mwan3track if tracking has failed
" ..
"$INTERFACE Name of the interface which went up or down (e.g. \"wan\" or \"wwan\")
" ..
"$DEVICE Physical device name which interface went up or down (e.g. \"eth0\" or \"wwan0\")
" ..
"
"))
diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua
index 7f12782069..c4567f756b 100644
--- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua
+++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua
@@ -24,7 +24,7 @@ function policyError(policy_error)
local warnings = ""
for i, k in pairs(policy_error) do
if policy_error[i] == true then
- warnings = warnings .. string.format("%s",
+ warnings = warnings .. string.format("%s
",
translatef("WARNING: Policie %s has exceeding the maximum name of 15 characters", i)
)
end
diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua
index cb2a99537b..fb885f8b37 100644
--- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua
+++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua
@@ -28,7 +28,7 @@ function ruleWarn(rule_error)
local warnings = ""
for i, k in pairs(rule_error) do
if rule_error[i] == true then
- warnings = warnings .. string.format("%s",
+ warnings = warnings .. string.format("%s
",
translatef("WARNING: Rule %s have a port configured with no or improper protocol specified!", i)
)
end