mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 11:01:50 +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.rmempty = true
|
||||
|
||||
table = s:option(Value, "table", translate("Table"))
|
||||
table.rmempty = true
|
||||
table.size = 5
|
||||
|
||||
routetype = s:option(Value, "type", translate("Route type"))
|
||||
routetype:value("", "unicast")
|
||||
routetype:value("local", "local")
|
||||
|
@ -85,6 +89,10 @@ if fs.access("/proc/net/ipv6_route") then
|
|||
mtu.size = 5
|
||||
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:value("", "unicast")
|
||||
routetype:value("local", "local")
|
||||
|
|
Loading…
Reference in a new issue