1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
This commit is contained in:
suyuan 2023-11-28 10:35:28 +08:00
commit 5472ebbdae
15 changed files with 1350 additions and 581 deletions

View file

@ -573,6 +573,7 @@
for _, iface in ipairs(net:get_networks()) do
local ifname = iface:name()
local firewall_wan = luci.util.trim(luci.sys.exec("uci -q get firewall.zone_wan.network | tr ' ' '\n' | grep \'^" .. ifname .. "$\'"))
local ttl = uci:get("network",ifname .. "_dev","ttl")
if firewall_wan ~= "" then
-- local multipath = uci:get("network",ifname,"multipath")