From f1e9d5a8789071ab158472b64aa2e9836f96ac69 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 23 Sep 2020 19:52:23 +0100 Subject: [PATCH] let Util.GetHostFromDNS do its job if name is a ip --- OpenSim/Framework/GridInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Framework/GridInfo.cs b/OpenSim/Framework/GridInfo.cs index 9cf0c81271..5af26d95bc 100644 --- a/OpenSim/Framework/GridInfo.cs +++ b/OpenSim/Framework/GridInfo.cs @@ -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)