Return to session.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.51, 2001/01/21 19:05:56 | version 1.52, 2001/02/03 10:08:37 | ||
---|---|---|---|
|
|
||
{ | { | ||
static const char *remote = ""; | static const char *remote = ""; | ||
if (utmp_len > 0) | if (utmp_len > 0) | ||
remote = get_canonical_hostname(); | remote = get_canonical_hostname(options.reverse_mapping_check); | ||
if (utmp_len == 0 || strlen(remote) > utmp_len) | if (utmp_len == 0 || strlen(remote) > utmp_len) | ||
remote = get_remote_ipaddr(); | remote = get_remote_ipaddr(); | ||
return remote; | return remote; |