diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshd.c,v 1.408 2013/10/17 22:08:04 djm Exp $ */ | 1 | /* $OpenBSD: sshd.c,v 1.409 2013/10/23 23:35:32 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -2040,7 +2040,9 @@ main(int ac, char **av) | |||
2040 | #endif /* LIBWRAP */ | 2040 | #endif /* LIBWRAP */ |
2041 | 2041 | ||
2042 | /* Log the connection. */ | 2042 | /* Log the connection. */ |
2043 | verbose("Connection from %.500s port %d", remote_ip, remote_port); | 2043 | verbose("Connection from %s port %d on %s port %d", |
2044 | remote_ip, remote_port, | ||
2045 | get_local_ipaddr(sock_in), get_local_port()); | ||
2044 | 2046 | ||
2045 | /* | 2047 | /* |
2046 | * We don't want to listen forever unless the other side | 2048 | * We don't want to listen forever unless the other side |