This commit is contained in:
nicolas.dorier 2019-06-12 17:40:49 +09:00
parent ff86ce64b4
commit a958d10dd9
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

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;
}