mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-01 11:09:15 +02:00
Don't consider an in progress ICE as "partially connected"
when the relay is not..
This commit is contained in:
@@ -1054,7 +1054,7 @@ func evalConnStatus(in connStatusInputs) guard.ConnStatus {
|
||||
case relayUsedAndUp:
|
||||
// Relay is up but ICE is down — partially connected.
|
||||
return guard.ConnStatusPartiallyConnected
|
||||
case iceRunning && !in.relayTransportConnected:
|
||||
case in.iceStatusConnected && !in.relayTransportConnected:
|
||||
// ICE is up and the shared relay transport is down — offers cannot restore it.
|
||||
return guard.ConnStatusPartiallyConnected
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user