diff options
author | Florian Eckert <fe@dev.tdt.de> | 2017-03-31 14:56:06 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2017-03-31 15:01:51 +0200 |
commit | 7d5579b3e0a1bd17d3738bcebbc9492f284b2d55 (patch) | |
tree | c6c678635736f54b0d279f44878d02f1d4b5a687 /applications/luci-app-mwan3/luasrc/model | |
parent | 585b6b3111f68328147177667c9eb9fcbf2a18eb (diff) |
luci-app-mwan3: add new conntrack flash param
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/model')
-rw-r--r-- | applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua | 8 |
1 files changed, 8 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 be87a00425..23703d4eae 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua @@ -190,6 +190,14 @@ up = mwan_interface:option(ListValue, "up", translate("Interface up"), up:value("9") up:value("10") +flush = mwan_interface:option(ListValue, "flush_conntrack", translate("Flush conntrack table"), + translate("Flush global firewall conntrack table on interface events")) + flush.default = "never" + flush:value("ifup", translate("ifup")) + flush:value("ifdown", translate("ifdown")) + flush:value("never", translate("never")) + flush:value("always", translate("always")) + metric = mwan_interface:option(DummyValue, "metric", translate("Metric"), translate("This displays the metric assigned to this interface in /etc/config/network")) metric.rawhtml = true |