yield break

This commit is contained in:
陈国伟 2021-07-29 14:27:55 +08:00
parent 48e994182f
commit 299d81b76b

View File

@ -184,10 +184,10 @@ namespace FastGithub
if (string.IsNullOrEmpty(host) == false)
{
yield return host;
yield break;
}
var globalPropreties = IPGlobalProperties.GetIPGlobalProperties();
yield return globalPropreties.HostName;
foreach (var item in globalPropreties.GetUnicastAddresses())
{