From b77c29a07f5a02c7c1998701c73d92bde7ae1608 Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org@openbsd.org" Date: Fri, 27 Oct 2017 00:18:41 +0000 Subject: [PATCH] upstream commit improve printing of rdomain on accept() a little OpenBSD-Commit-ID: 5da58db2243606899cedaa646c70201b2d12247a --- sshd.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sshd.c b/sshd.c index 535cb97f0..6a8e3762a 100644 --- a/sshd.c +++ b/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 * Copyright (c) 1995 Tatu Ylonen , 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); /*