summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2005-05-25 17:32:54 +0000
committerColin Watson <cjwatson@debian.org>2005-05-25 17:32:54 +0000
commita2ed4436911a3b748416b067ed0e4b33a5c60d38 (patch)
tree4b0d5aa2b89f501b8820b269f053a4e8a4c1bbd1 /sshconnect.c
parentcbee213229750648415206eea11af14158681f29 (diff)
send SSH_RELEASE rather than SSH_VERSION in banners, preserving previous
behaviour
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshconnect.c b/sshconnect.c
index f8ebd9875..180da43cd 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -538,7 +538,7 @@ ssh_exchange_identification(void)
538 snprintf(buf, sizeof buf, "SSH-%d.%d-%.100s\n", 538 snprintf(buf, sizeof buf, "SSH-%d.%d-%.100s\n",
539 compat20 ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1, 539 compat20 ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1,
540 compat20 ? PROTOCOL_MINOR_2 : minor1, 540 compat20 ? PROTOCOL_MINOR_2 : minor1,
541 SSH_VERSION); 541 SSH_RELEASE);
542 if (atomicio(vwrite, connection_out, buf, strlen(buf)) != strlen(buf)) 542 if (atomicio(vwrite, connection_out, buf, strlen(buf)) != strlen(buf))
543 fatal("write: %.100s", strerror(errno)); 543 fatal("write: %.100s", strerror(errno));
544 client_version_string = xstrdup(buf); 544 client_version_string = xstrdup(buf);