diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-07-17 17:05:14 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-07-17 17:05:14 +1000 |
commit | 0999174755bbc5b50d65bfa95e0b322ffd12337c (patch) | |
tree | a0153a329222f784d98f8554ecd8d1d98bce23bd /session.h | |
parent | 3ca45082017f0fcaf01b0bf781ae33cf1cc57e27 (diff) | |
download | openssh-git-0999174755bbc5b50d65bfa95e0b322ffd12337c.tar.gz |
- dtucker@cvs.openbsd.org 2004/07/17 05:31:41
[monitor.c monitor_wrap.c session.c session.h sshd.c sshlogin.c]
Move "Last logged in at.." message generation to the monitor, right
before recording the new login. Fixes missing lastlog message when
/var/log/lastlog is not world-readable and incorrect datestamp when
multiple sessions are used (bz #463); much assistance & ok markus@
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: session.h,v 1.22 2004/04/27 09:46:37 djm Exp $ */ +/* $OpenBSD: session.h,v 1.23 2004/07/17 05:31:41 dtucker Exp $ */ /* * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. @@ -39,9 +39,6 @@ struct Session { int ptyfd, ttyfd, ptymaster; u_int row, col, xpixel, ypixel; char tty[TTYSZ]; - /* last login */ - char hostname[MAXHOSTNAMELEN]; - time_t last_login_time; /* X11 */ u_int display_number; char *display; |