mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-06 07:44:57 +03:00
remove DoNothing function (improves coverity reports)
This commit is contained in:
@ -343,13 +343,8 @@ void OvsProceccRecvPacket(OPENVPN_SERVER *s, UDPPACKET *p, UINT protocol)
|
||||
data += sizeof(UINT);
|
||||
size -= sizeof(UINT);
|
||||
|
||||
if (size >= sizeof(ping_signature) &&
|
||||
Cmp(data, ping_signature, sizeof(ping_signature)) == 0)
|
||||
{
|
||||
// Ignore since a ping packet has been received
|
||||
DoNothing();
|
||||
}
|
||||
else
|
||||
if (size < sizeof(ping_signature) ||
|
||||
Cmp(data, ping_signature, sizeof(ping_signature)) != 0)
|
||||
{
|
||||
// Receive a packet!!
|
||||
if (se->Ipc != NULL)
|
||||
|
Reference in New Issue
Block a user