diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -33,7 +33,7 @@ | |||
33 | */ | 33 | */ |
34 | 34 | ||
35 | #include "includes.h" | 35 | #include "includes.h" |
36 | RCSID("$OpenBSD: session.c,v 1.51 2001/01/21 19:05:56 markus Exp $"); | 36 | RCSID("$OpenBSD: session.c,v 1.52 2001/02/03 10:08:37 markus Exp $"); |
37 | 37 | ||
38 | #include "ssh.h" | 38 | #include "ssh.h" |
39 | #include "ssh1.h" | 39 | #include "ssh1.h" |
@@ -683,7 +683,7 @@ get_remote_name_or_ip(void) | |||
683 | { | 683 | { |
684 | static const char *remote = ""; | 684 | static const char *remote = ""; |
685 | if (utmp_len > 0) | 685 | if (utmp_len > 0) |
686 | remote = get_canonical_hostname(); | 686 | remote = get_canonical_hostname(options.reverse_mapping_check); |
687 | if (utmp_len == 0 || strlen(remote) > utmp_len) | 687 | if (utmp_len == 0 || strlen(remote) > utmp_len) |
688 | remote = get_remote_ipaddr(); | 688 | remote = get_remote_ipaddr(); |
689 | return remote; | 689 | return remote; |
@@ -1061,7 +1061,7 @@ do_child(const char *command, struct passwd * pw, const char *term, | |||
1061 | #ifdef HAVE_OSF_SIA | 1061 | #ifdef HAVE_OSF_SIA |
1062 | extern char **saved_argv; | 1062 | extern char **saved_argv; |
1063 | extern int saved_argc; | 1063 | extern int saved_argc; |
1064 | char *host = get_canonical_hostname (); | 1064 | char *host = get_canonical_hostname(options.reverse_mapping_check); |
1065 | 1065 | ||
1066 | if (sia_become_user(NULL, saved_argc, saved_argv, host, | 1066 | if (sia_become_user(NULL, saved_argc, saved_argv, host, |
1067 | pw->pw_name, ttyname, 0, NULL, NULL, SIA_BEU_SETLUID) != | 1067 | pw->pw_name, ttyname, 0, NULL, NULL, SIA_BEU_SETLUID) != |