mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
MFS: Don't use the canonical hostname here, too.
This commit is contained in:
parent
895b03b1e8
commit
a61d605eda
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72021
@ -276,8 +276,10 @@ ssh_connect(char **host, struct sockaddr_storage * hostaddr,
|
||||
}
|
||||
}
|
||||
if (ai) {
|
||||
#if 0
|
||||
if (ai->ai_canonname != NULL)
|
||||
*host = xstrdup(ai->ai_canonname);
|
||||
#endif
|
||||
break; /* Successful connection. */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user