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:
James R committed 2022-08-19 19:55:08 -07:00
1 parent c5e131460e
commit 2137a096e6
1 file changed
+2 -2
+2 -2
View File
@@ -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