mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Display on status page that bridge is not a good idea
This commit is contained in:
parent
23fb2cf5e5
commit
a34a7b3215
2 changed files with 8 additions and 0 deletions
|
@ -1119,6 +1119,7 @@ function interfaces_status()
|
|||
local proto = section["proto"] or ""
|
||||
local ipv6 = section["ipv6"] or "0"
|
||||
local mac = section ["macaddr"] or ""
|
||||
local itype = section ["type"] or ""
|
||||
|
||||
--if not ipaddr or not gateway then return end
|
||||
-- Don't show if0 in the overview
|
||||
|
@ -1479,6 +1480,7 @@ function interfaces_status()
|
|||
rx = rx,
|
||||
tx = tx,
|
||||
zonewan = zonewan,
|
||||
iftype = itype,
|
||||
}
|
||||
if ifname ~= nil and ifname:match("^tun.*") then
|
||||
table.insert(mArray.tunnels, data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue