This commit is contained in:
nicolas.dorier
2019-06-12 17:40:49 +09:00
parent ff86ce64b4
commit a958d10dd9

View File

@@ -185,7 +185,7 @@ namespace BTCPayServer
}
if(IPAddress.TryParse(server, out var ip))
{
return ip.IsLocal();
return ip.IsLocal() || ip.IsRFC1918();
}
return false;
}