mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-07 01:10:03 +00:00
Fix log
This commit is contained in:
@@ -28,6 +28,7 @@ func nilCheck(log *log.Entry, conn net.Conn) {
|
|||||||
func agentCheck(log *log.Entry, agent *ice.Agent) {
|
func agentCheck(log *log.Entry, agent *ice.Agent) {
|
||||||
if agent == nil {
|
if agent == nil {
|
||||||
log.Errorf("agent is nil")
|
log.Errorf("agent is nil")
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
pair, err := agent.GetSelectedCandidatePair()
|
pair, err := agent.GetSelectedCandidatePair()
|
||||||
|
|||||||
Reference in New Issue
Block a user