1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00

Add table info in routes list

This commit is contained in:
Ycarus 2018-12-21 15:39:11 +01:00
parent 6fe84d5377
commit f9858717b7

View file

@ -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")