luci-app-mwan3: add new conntrack flash param
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
585b6b3111
commit
7d5579b3e0
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue