summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/monitor.c b/monitor.c
index 59b05a98f..a86b77936 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor.c,v 1.162 2016/08/13 17:47:41 markus Exp $ */ 1/* $OpenBSD: monitor.c,v 1.163 2016/08/19 03:18:06 djm Exp $ */
2/* 2/*
3 * Copyright 2002 Niels Provos <provos@citi.umich.edu> 3 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
4 * Copyright 2002 Markus Friedl <markus@openbsd.org> 4 * Copyright 2002 Markus Friedl <markus@openbsd.org>
@@ -1395,9 +1395,6 @@ mm_record_login(Session *s, struct passwd *pw)
1395 socklen_t fromlen; 1395 socklen_t fromlen;
1396 struct sockaddr_storage from; 1396 struct sockaddr_storage from;
1397 1397
1398 if (options.use_login)
1399 return;
1400
1401 /* 1398 /*
1402 * Get IP address of client. If the connection is not a socket, let 1399 * Get IP address of client. If the connection is not a socket, let
1403 * the address be 0.0.0.0. 1400 * the address be 0.0.0.0.