diff options
author | djm@openbsd.org@openbsd.org <djm@openbsd.org@openbsd.org> | 2017-10-27 00:18:41 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-10-31 09:08:50 +1100 |
commit | b77c29a07f5a02c7c1998701c73d92bde7ae1608 (patch) | |
tree | b272fd301af83298935dc76b5051caa97195d085 /sshd.c | |
parent | 68d3bbb2e6dfbf117c46e942142795b2cdd0274b (diff) |
upstream commit
improve printing of rdomain on accept() a little
OpenBSD-Commit-ID: 5da58db2243606899cedaa646c70201b2d12247a
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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); /* |