mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 18:03:23 +00:00
Apply fix form Bogdan Pintea for failing DNS resolution
This commit is contained in:
parent
a1ddb8a202
commit
9a48cd4cc6
1 changed files with 3 additions and 3 deletions
|
@ -855,12 +855,12 @@ sub check_host($) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
logmsg( 1, "Failed to check host (falling back to gethost): $!" );
|
logmsg( 1, "Failed to check host (falling back to gethostbyname): $!" );
|
||||||
return gethost($host);
|
return gethostbyname($host);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return gethost($host);
|
return gethostbyname($host);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue