mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
let Util.GetHostFromDNS do its job if name is a ip
This commit is contained in:
@@ -109,7 +109,7 @@ namespace OpenSim.Framework
|
||||
URL = "http://" + Host + ":80/";
|
||||
}
|
||||
|
||||
if (withDNSResolve && URLType == UriHostNameType.Dns)
|
||||
if (withDNSResolve)
|
||||
{
|
||||
IPAddress ip = Util.GetHostFromDNS(host);
|
||||
if (ip != null)
|
||||
|
||||
Reference in New Issue
Block a user