summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-02-05 12:13:41 +1100
committerDamien Miller <djm@mindrot.org>2002-02-05 12:13:41 +1100
commitc5d8635d6a9425289bd0cbfa83b90a4e42e6a72a (patch)
tree9a431368be8d4ee5e8742c44870b34a3dfd457f7 /session.c
parent43cba34b649a2df8c170e17a5655d060830a386e (diff)
- markus@cvs.openbsd.org 2002/01/29 14:32:03
[auth2.c auth.c auth-options.c auth-rhosts.c auth-rh-rsa.c canohost.c servconf.c servconf.h session.c sshd.8 sshd_config] s/ReverseMappingCheck/VerifyReverseMapping/ and avoid confusion; ok stevesk@
Diffstat (limited to 'session.c')
-rw-r--r--session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/session.c b/session.c
index 7e1d0a82b..48821af2e 100644
--- a/session.c
+++ b/session.c
@@ -33,7 +33,7 @@
33 */ 33 */
34 34
35#include "includes.h" 35#include "includes.h"
36RCSID("$OpenBSD: session.c,v 1.119 2002/01/27 14:57:46 stevesk Exp $"); 36RCSID("$OpenBSD: session.c,v 1.120 2002/01/29 14:32:03 markus Exp $");
37 37
38#include "ssh.h" 38#include "ssh.h"
39#include "ssh1.h" 39#include "ssh1.h"
@@ -717,7 +717,7 @@ do_login(Session *s, const char *command)
717 717
718 /* Record that there was a login on that tty from the remote host. */ 718 /* Record that there was a login on that tty from the remote host. */
719 record_login(pid, s->tty, pw->pw_name, pw->pw_uid, 719 record_login(pid, s->tty, pw->pw_name, pw->pw_uid,
720 get_remote_name_or_ip(utmp_len, options.reverse_mapping_check), 720 get_remote_name_or_ip(utmp_len, options.verify_reverse_mapping),
721 (struct sockaddr *)&from); 721 (struct sockaddr *)&from);
722 722
723#ifdef USE_PAM 723#ifdef USE_PAM
@@ -1287,7 +1287,7 @@ do_child(Session *s, const char *command)
1287 /* we have to stash the hostname before we close our socket. */ 1287 /* we have to stash the hostname before we close our socket. */
1288 if (options.use_login) 1288 if (options.use_login)
1289 hostname = get_remote_name_or_ip(utmp_len, 1289 hostname = get_remote_name_or_ip(utmp_len,
1290 options.reverse_mapping_check); 1290 options.verify_reverse_mapping);
1291 /* 1291 /*
1292 * Close the connection descriptors; note that this is the child, and 1292 * Close the connection descriptors; note that this is the child, and
1293 * the server will still have the socket open, and it is important 1293 * the server will still have the socket open, and it is important