aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2020-06-19 13:28:16 +0200
committerAndreas Schneider <asn@cryptomilk.org>2020-07-16 12:01:04 +0200
commitdcae43fa6bf0e5d4b7e9e61bee3f1582a04dbb14 (patch)
tree8c781abdc26b20ff85c13c81c6b5959a937c25e2 /src
parentf10d80047c660e33f5c365bf3cf436a0c2a300f1 (diff)
downloadlibssh-dcae43fa6bf0e5d4b7e9e61bee3f1582a04dbb14.tar.gz
libssh-dcae43fa6bf0e5d4b7e9e61bee3f1582a04dbb14.tar.xz
libssh-dcae43fa6bf0e5d4b7e9e61bee3f1582a04dbb14.zip
misc: Do not confuse client/server in debug messages
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r--src/misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index faa185f9..955ceed6 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -1300,7 +1300,8 @@ int ssh_analyze_banner(ssh_session session, int server)
session->openssh = SSH_VERSION_INT(((int) major), ((int) minor), 0);
SSH_LOG(SSH_LOG_PROTOCOL,
- "We are talking to an OpenSSH client version: %lu.%lu (%x)",
+ "We are talking to an OpenSSH %s version: %lu.%lu (%x)",
+ server ? "client" : "server",
major, minor, session->openssh);
}
}