Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
Travis Glenn Hansen 2024-03-02 13:19:02 -07:00
parent ed32cf8db0
commit 8a1ac03b9f
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ class ISCSI {
let parsedPortalHostIP = "";
if (parsedPortal.host) {
// if host is not an ip address
if (net.isIP(parsePortal.host) == 0) {
if (net.isIP(parsedPortal.host) == 0) {
// ipv6 response is without []
parsedPortalHostIP =
(await hostname_lookup(parsedPortal.host)) || "";