mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
misc: Do not confuse client/server in debug messages
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
f10d80047c
commit
dcae43fa6b
@@ -1300,7 +1300,8 @@ int ssh_analyze_banner(ssh_session session, int server)
|
|||||||
session->openssh = SSH_VERSION_INT(((int) major), ((int) minor), 0);
|
session->openssh = SSH_VERSION_INT(((int) major), ((int) minor), 0);
|
||||||
|
|
||||||
SSH_LOG(SSH_LOG_PROTOCOL,
|
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);
|
major, minor, session->openssh);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user