mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add table info in routes list
This commit is contained in:
parent
6fe84d5377
commit
f9858717b7
1 changed files with 8 additions and 0 deletions
|
@ -43,6 +43,10 @@ mtu.datatype = "range(64,9000)"
|
||||||
mtu.size = 5
|
mtu.size = 5
|
||||||
mtu.rmempty = true
|
mtu.rmempty = true
|
||||||
|
|
||||||
|
table = s:option(Value, "table", translate("Table"))
|
||||||
|
table.rmempty = true
|
||||||
|
table.size = 5
|
||||||
|
|
||||||
routetype = s:option(Value, "type", translate("Route type"))
|
routetype = s:option(Value, "type", translate("Route type"))
|
||||||
routetype:value("", "unicast")
|
routetype:value("", "unicast")
|
||||||
routetype:value("local", "local")
|
routetype:value("local", "local")
|
||||||
|
@ -85,6 +89,10 @@ if fs.access("/proc/net/ipv6_route") then
|
||||||
mtu.size = 5
|
mtu.size = 5
|
||||||
mtu.rmempty = true
|
mtu.rmempty = true
|
||||||
|
|
||||||
|
table = s:option(Value, "table", translate("Table"))
|
||||||
|
table.rmempty = true
|
||||||
|
table.size = 5
|
||||||
|
|
||||||
routetype = s:option(Value, "type", translate("Route type"))
|
routetype = s:option(Value, "type", translate("Route type"))
|
||||||
routetype:value("", "unicast")
|
routetype:value("", "unicast")
|
||||||
routetype:value("local", "local")
|
routetype:value("local", "local")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue