close the iris on an unsafe connection
This commit is contained in:
@ -746,7 +746,12 @@ local function handleOutgoingDial()
|
|||||||
local connectionSafe = false
|
local connectionSafe = false
|
||||||
|
|
||||||
if remoteIrisState and remoteIrisState > 0 then
|
if remoteIrisState and remoteIrisState > 0 then
|
||||||
-- Remote iris is closed (partially or fully)
|
-- Remote iris is closed (partially or fully) - UNSAFE
|
||||||
|
-- Close local iris to protect travelers
|
||||||
|
if config.irisEnabled then
|
||||||
|
utils.closeIris()
|
||||||
|
end
|
||||||
|
|
||||||
if remoteIrisState == 100 then
|
if remoteIrisState == 100 then
|
||||||
utils.log("WARNING: Remote iris is fully closed!")
|
utils.log("WARNING: Remote iris is fully closed!")
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user