diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -33,7 +33,7 @@ | |||
33 | */ | 33 | */ |
34 | 34 | ||
35 | #include "includes.h" | 35 | #include "includes.h" |
36 | RCSID("$OpenBSD: session.c,v 1.132 2002/03/19 10:49:35 markus Exp $"); | 36 | RCSID("$OpenBSD: session.c,v 1.133 2002/03/28 15:34:51 markus Exp $"); |
37 | 37 | ||
38 | #include "ssh.h" | 38 | #include "ssh.h" |
39 | #include "ssh1.h" | 39 | #include "ssh1.h" |
@@ -648,9 +648,11 @@ do_login(Session *s, const char *command) | |||
648 | } | 648 | } |
649 | 649 | ||
650 | /* Record that there was a login on that tty from the remote host. */ | 650 | /* Record that there was a login on that tty from the remote host. */ |
651 | record_login(pid, s->tty, pw->pw_name, pw->pw_uid, | 651 | if (!use_privsep) |
652 | get_remote_name_or_ip(utmp_len, options.verify_reverse_mapping), | 652 | record_login(pid, s->tty, pw->pw_name, pw->pw_uid, |
653 | (struct sockaddr *)&from); | 653 | get_remote_name_or_ip(utmp_len, |
654 | options.verify_reverse_mapping), | ||
655 | (struct sockaddr *)&from); | ||
654 | 656 | ||
655 | #ifdef USE_PAM | 657 | #ifdef USE_PAM |
656 | /* | 658 | /* |