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:
1 parent
c5e131460e
commit
2137a096e6
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user