mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +00:00
no zone error for mptcp over vpn interfaces
This commit is contained in:
parent
6ee04579cc
commit
7f318ebce4
1 changed files with 1 additions and 1 deletions
|
@ -1390,7 +1390,7 @@ function interfaces_status()
|
|||
end
|
||||
|
||||
local zonewan = "NO"
|
||||
if ut.trim(sys.exec("uci -q get firewall.zone_wan.network | grep '" .. interface .. "'")) ~= "" then
|
||||
if ut.trim(sys.exec("uci -q get firewall.zone_wan.network | grep '" .. interface .. "'")) ~= "" or interface:match("^wg.*") or interface:match("^ovpn.*") then
|
||||
zonewan = "OK"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue