fix typo
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
parent
ed32cf8db0
commit
8a1ac03b9f
|
|
@ -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)) || "";
|
||||
|
|
|
|||
Loading…
Reference in New Issue