diff options
author | Florian Eckert <fe@dev.tdt.de> | 2018-05-07 10:56:22 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2018-05-15 11:11:34 +0200 |
commit | 2c6faaecd1be75d30a3b12563a5442c66df6f4cd (patch) | |
tree | eba5e443cc5d81c7e41633f179b7d77d6fa73282 /applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua | |
parent | f3b30512361584c61c9daa51650ad833072aa919 (diff) |
luci-app-mwan3: add dependecy to size option
This option is only valid if track-method is set to "ping".
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua')
-rw-r--r-- | applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua | 1 |
1 files changed, 1 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 a43950267..8cfeecd12 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua @@ -54,6 +54,7 @@ count:value("5") size = mwan_interface:option(Value, "size", translate("Ping size")) size.default = "56" +size:depends("track_method", "ping") size:value("8") size:value("24") size:value("56") |