summaryrefslogtreecommitdiff
path: root/sshd.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 /sshd.c
parentcbee213229750648415206eea11af14158681f29 (diff)
send SSH_RELEASE rather than SSH_VERSION in banners, preserving previous
behaviour
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index a2e0e9320..416270e37 100644
--- a/sshd.c
+++ b/sshd.c
@@ -376,7 +376,7 @@ sshd_exchange_identification(int sock_in, int sock_out)
376 major = PROTOCOL_MAJOR_1; 376 major = PROTOCOL_MAJOR_1;
377 minor = PROTOCOL_MINOR_1; 377 minor = PROTOCOL_MINOR_1;
378 } 378 }
379 snprintf(buf, sizeof buf, "SSH-%d.%d-%.100s\n", major, minor, SSH_VERSION); 379 snprintf(buf, sizeof buf, "SSH-%d.%d-%.100s\n", major, minor, SSH_RELEASE);
380 server_version_string = xstrdup(buf); 380 server_version_string = xstrdup(buf);
381 381
382 /* Send our protocol version identification. */ 382 /* Send our protocol version identification. */