mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-23 04:51:56 +00:00
- always accept debugger messages from loopback
This commit is contained in:
parent
02dcd00788
commit
d7be3964d4
1 changed files with 5 additions and 5 deletions
|
@ -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( );
|
||||
|
|
Loading…
Reference in a new issue