version 1.119, 2002/01/27 14:57:46 |
version 1.120, 2002/01/29 14:32:03 |
|
|
|
|
/* Record that there was a login on that tty from the remote host. */ |
/* Record that there was a login on that tty from the remote host. */ |
record_login(pid, s->tty, pw->pw_name, pw->pw_uid, |
record_login(pid, s->tty, pw->pw_name, pw->pw_uid, |
get_remote_name_or_ip(utmp_len, options.reverse_mapping_check), |
get_remote_name_or_ip(utmp_len, options.verify_reverse_mapping), |
(struct sockaddr *)&from); |
(struct sockaddr *)&from); |
|
|
if (check_quietlogin(s, command)) |
if (check_quietlogin(s, command)) |
|
|
/* we have to stash the hostname before we close our socket. */ |
/* we have to stash the hostname before we close our socket. */ |
if (options.use_login) |
if (options.use_login) |
hostname = get_remote_name_or_ip(utmp_len, |
hostname = get_remote_name_or_ip(utmp_len, |
options.reverse_mapping_check); |
options.verify_reverse_mapping); |
/* |
/* |
* Close the connection descriptors; note that this is the child, and |
* Close the connection descriptors; note that this is the child, and |
* the server will still have the socket open, and it is important |
* the server will still have the socket open, and it is important |