diff options
author | Florian Eckert <fe@dev.tdt.de> | 2017-03-31 14:52:45 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2017-03-31 15:01:41 +0200 |
commit | 585b6b3111f68328147177667c9eb9fcbf2a18eb (patch) | |
tree | ac57e192365249b9f2f192360fbb1cd22550d937 /applications/luci-app-mwan3/luasrc/model/cbi | |
parent | 369dbbfe713402e9ae062b8c6886d863f51e1adf (diff) |
luci-app-mwan3: add new ping size param
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/model/cbi')
-rw-r--r-- | applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua | 15 |
1 files changed, 15 insertions, 0 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 387ff01a8d..be87a00425 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua @@ -119,6 +119,21 @@ count = mwan_interface:option(ListValue, "count", translate("Ping count")) count:value("4") count:value("5") +size = mwan_interface:option(Value, "size", translate("Ping size")) + size.default = "56" + size:value("8") + size:value("24") + size:value("56") + size:value("120") + size:value("248") + size:value("504") + size:value("1016") + size:value("1472") + size:value("2040") + size.datatype = "range(1, 65507)" + size.rmempty = false + size.optional = false + timeout = mwan_interface:option(ListValue, "timeout", translate("Ping timeout")) timeout.default = "2" timeout:value("1", translate("1 second")) |