mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-22 01:50:16 +00:00
upstream commit
improve printing of rdomain on accept() a little OpenBSD-Commit-ID: 5da58db2243606899cedaa646c70201b2d12247a
This commit is contained in:
parent
68d3bbb2e6
commit
b77c29a07f
9
sshd.c
9
sshd.c
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: sshd.c,v 1.496 2017/10/25 00:19:47 djm Exp $ */
|
||||
/* $OpenBSD: sshd.c,v 1.497 2017/10/27 00:18:41 djm Exp $ */
|
||||
/*
|
||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||
@ -2041,10 +2041,11 @@ main(int ac, char **av)
|
||||
|
||||
/* Log the connection. */
|
||||
laddr = get_local_ipaddr(sock_in);
|
||||
verbose("Connection from %s port %d on %s port %d%s%s",
|
||||
verbose("Connection from %s port %d on %s port %d%s%s%s",
|
||||
remote_ip, remote_port, laddr, ssh_local_port(ssh),
|
||||
rdomain == NULL ? "" : " rdomain ",
|
||||
rdomain == NULL ? "" : rdomain);
|
||||
rdomain == NULL ? "" : " rdomain \"",
|
||||
rdomain == NULL ? "" : rdomain,
|
||||
rdomain == NULL ? "" : "\"");
|
||||
free(laddr);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user