mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-03 11:05:08 +03:00
Fix (#10501)
This commit is contained in:
@@ -1758,7 +1758,7 @@ public static class ConfigHandler
|
|||||||
profileItem.Subid = subid;
|
profileItem.Subid = subid;
|
||||||
profileItem.IsSub = isSub;
|
profileItem.IsSub = isSub;
|
||||||
|
|
||||||
if (dnsClient is not null && profileItem.Address.IsNotEmpty())
|
if (dnsClient is not null && profileItem.Address.IsNotEmpty() && !Utils.IsIpAddress(profileItem.Address))
|
||||||
{
|
{
|
||||||
if (!dnsCache.TryGetValue(profileItem.Address, out var resolvedAddress))
|
if (!dnsCache.TryGetValue(profileItem.Address, out var resolvedAddress))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user