diff --git a/lib/core/tools/Convert-IcingaEndpointsToIP.psm1 b/lib/core/tools/Convert-IcingaEndpointsToIP.psm1 index 0131db4..f5201c7 100644 --- a/lib/core/tools/Convert-IcingaEndpointsToIP.psm1 +++ b/lib/core/tools/Convert-IcingaEndpointsToIP.psm1 @@ -49,7 +49,7 @@ function Convert-IcingaEndpointsToIPv4() ); $ResolvedNetwork += $entry.Replace($Network.address, $ResolvedIP); } catch { - $UnresolvedNetwork += $entry; + $UnresolvedNetwork += $Network.address; $HasUnresolved = $TRUE; } }