diff options
author | Colin Watson <cjwatson@debian.org> | 2005-05-25 17:32:54 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2005-05-25 17:32:54 +0000 |
commit | a2ed4436911a3b748416b067ed0e4b33a5c60d38 (patch) | |
tree | 4b0d5aa2b89f501b8820b269f053a4e8a4c1bbd1 /sshd.c | |
parent | cbee213229750648415206eea11af14158681f29 (diff) |
send SSH_RELEASE rather than SSH_VERSION in banners, preserving previous
behaviour
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |