summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index fd67727b8..07dfc9da1 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -527,10 +527,10 @@ send_client_banner(int connection_out, int minor1)
527 /* Send our own protocol version identification. */ 527 /* Send our own protocol version identification. */
528 if (compat20) { 528 if (compat20) {
529 xasprintf(&client_version_string, "SSH-%d.%d-%.100s\r\n", 529 xasprintf(&client_version_string, "SSH-%d.%d-%.100s\r\n",
530 PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION); 530 PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE);
531 } else { 531 } else {
532 xasprintf(&client_version_string, "SSH-%d.%d-%.100s\n", 532 xasprintf(&client_version_string, "SSH-%d.%d-%.100s\n",
533 PROTOCOL_MAJOR_1, minor1, SSH_VERSION); 533 PROTOCOL_MAJOR_1, minor1, SSH_RELEASE);
534 } 534 }
535 if (atomicio(vwrite, connection_out, client_version_string, 535 if (atomicio(vwrite, connection_out, client_version_string,
536 strlen(client_version_string)) != strlen(client_version_string)) 536 strlen(client_version_string)) != strlen(client_version_string))