Log send errors with debug instead of error severity

They're normal in case a protocol stack isn't initialized supported
by the host or if there's no route.

CC #5273
This commit is contained in:
heinrich5991 2022-05-31 17:49:11 +02:00
parent 369c217db5
commit 71d47c3329

View file

@ -73,7 +73,7 @@ void CStun::CProtocol::Update()
int Size = StunMessagePrepare(aBuf, sizeof(aBuf), &m_Stun);
if(net_udp_send(m_Socket, &m_StunServer, aBuf, Size) == -1)
{
log_error(IndexToSystem(m_Index), "couldn't send stun request");
log_debug(IndexToSystem(m_Index), "couldn't send stun request");
return;
}
}