mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +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
|
end
|
||||||
|
|
||||||
local zonewan = "NO"
|
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"
|
zonewan = "OK"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue