mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-21 17:31:17 +00:00
always allow connections from localhost
This commit is contained in:
@@ -193,6 +193,9 @@ void RenderDoc::BecomeRemoteServer(const char *listenhost, uint16_t port, volati
|
||||
|
||||
bool valid = false;
|
||||
|
||||
// always allow connections from localhost
|
||||
valid = Network::MatchIPMask(ip, Network::MakeIP(127, 0, 0, 1), ~0U);
|
||||
|
||||
for(size_t i = 0; i < listenRanges.size(); i++)
|
||||
{
|
||||
if(Network::MatchIPMask(ip, listenRanges[i].first, listenRanges[i].second))
|
||||
|
||||
Reference in New Issue
Block a user