From d7be3964d4d0b0ef859191b2c1e1dc0418a8703b Mon Sep 17 00:00:00 2001 From: HarrievG Date: Sun, 13 Jun 2021 20:42:02 +0200 Subject: [PATCH] - always accept debugger messages from loopback --- neo/tools/debugger/DebuggerServer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/neo/tools/debugger/DebuggerServer.cpp b/neo/tools/debugger/DebuggerServer.cpp index 12fc9f6c..f95ee04b 100644 --- a/neo/tools/debugger/DebuggerServer.cpp +++ b/neo/tools/debugger/DebuggerServer.cpp @@ -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( );