version 1.157, 2016/02/15 23:32:37 |
version 1.158, 2016/03/07 19:02:43 |
|
|
static void |
static void |
mm_record_login(Session *s, struct passwd *pw) |
mm_record_login(Session *s, struct passwd *pw) |
{ |
{ |
|
struct ssh *ssh = active_state; /* XXX */ |
socklen_t fromlen; |
socklen_t fromlen; |
struct sockaddr_storage from; |
struct sockaddr_storage from; |
|
|
|
|
} |
} |
/* 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(s->pid, s->tty, pw->pw_name, pw->pw_uid, |
record_login(s->pid, s->tty, pw->pw_name, pw->pw_uid, |
get_remote_name_or_ip(utmp_len, options.use_dns), |
session_get_remote_name_or_ip(ssh, utmp_len, options.use_dns), |
(struct sockaddr *)&from, fromlen); |
(struct sockaddr *)&from, fromlen); |
} |
} |
|
|