MFS: Don't use the canonical hostname here, too.

This commit is contained in:
Brian Feldman 2001-02-04 20:16:14 +00:00
parent 895b03b1e8
commit a61d605eda
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72021

View File

@ -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. */
}