luci-app-mwan3: add new ip family param
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
7d5579b3e0
commit
e1e5743a1a
1 changed files with 5 additions and 0 deletions
|
@ -102,6 +102,11 @@ enabled = mwan_interface:option(ListValue, "enabled", translate("Enabled"))
|
|||
enabled:value("1", translate("Yes"))
|
||||
enabled:value("0", translate("No"))
|
||||
|
||||
family = mwan_interface:option(ListValue, "family", translate("Internet Protocol"))
|
||||
family.default = "ipv4"
|
||||
family:value("ipv4", translate("IPv4"))
|
||||
family:value("ipv6", translate("IPv6"))
|
||||
|
||||
track_ip = mwan_interface:option(DynamicList, "track_ip", translate("Tracking IP"),
|
||||
translate("This IP address will be pinged to dermine if the link is up or down. Leave blank to assume interface is always online"))
|
||||
track_ip.datatype = "ipaddr"
|
||||
|
|
Loading…
Reference in a new issue