From a77929552518fbbb84174ed1e17c0db15dca3fa7 Mon Sep 17 00:00:00 2001 From: Amazing_DM Date: Fri, 17 Jul 2020 10:55:41 +0800 Subject: [PATCH] fix a bug --- Netch/Utils/Utils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Netch/Utils/Utils.cs b/Netch/Utils/Utils.cs index 03f7bda5..566d398b 100644 --- a/Netch/Utils/Utils.cs +++ b/Netch/Utils/Utils.cs @@ -87,7 +87,7 @@ namespace Netch.Utils if (DnsResult != null) { - Country = databaseReader.Country(Hostname).Country.IsoCode; + Country = databaseReader.Country(DnsResult).Country.IsoCode; } else {