summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/session.h
diff options
context:
space:
mode:
authordtucker <dtucker@openbsd.org>2004-07-17 05:31:41 +0000
committerdtucker <dtucker@openbsd.org>2004-07-17 05:31:41 +0000
commitc5d091037eecc201d2d7ca6b22236bf7ed85c9c7 (patch)
tree14b9f2e0c362a8ebb4af65991df1edf9cde0fc28 /usr.bin/ssh/session.h
parentDelete unused local vars. (diff)
downloadwireguard-openbsd-c5d091037eecc201d2d7ca6b22236bf7ed85c9c7.tar.xz
wireguard-openbsd-c5d091037eecc201d2d7ca6b22236bf7ed85c9c7.zip
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 'usr.bin/ssh/session.h')
-rw-r--r--usr.bin/ssh/session.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/ssh/session.h b/usr.bin/ssh/session.h
index e525066520d..48be5070c85 100644
--- a/usr.bin/ssh/session.h
+++ b/usr.bin/ssh/session.h
@@ -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;