mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 04:11:18 +00:00
Reset remotenode when discarding STUN/hole punch packet
Fixes some wild behavior when a lot of hole punching requests are coming in.
This commit is contained in:
parent
c5e131460e
commit
2137a096e6
1 changed files with 2 additions and 2 deletions
|
@ -713,13 +713,13 @@ static boolean SOCK_Get(void)
|
|||
#ifdef USE_STUN
|
||||
if (STUN_got_response(doomcom->data, c))
|
||||
{
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (hole_punch(c))
|
||||
{
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
||||
// find remote node number
|
||||
|
|
Loading…
Reference in a new issue