- always accept debugger messages from loopback

This commit is contained in:
HarrievG 2021-06-13 20:42:02 +02:00 committed by Daniel Gibson
parent 02dcd00788
commit d7be3964d4

View file

@ -171,11 +171,11 @@ bool rvDebuggerServer::ProcessMessages ( void )
msg.Init(buffer, sizeof(buffer));
msg.SetSize(msgSize);
msg.BeginReading();
// Only accept packets from the debugger server for security reasons
if ( !Sys_CompareNetAdrBase ( adrFrom, mClientAdr ) )
{
continue;
if ( adrFrom.type != NA_LOOPBACK ) {
// Only accept packets from the debugger server for security reasons
if ( !Sys_CompareNetAdrBase( adrFrom, mClientAdr ) )
continue;
}
command = msg.ReadShort( );