View | Details | Raw Unified | Return to bug 2810
Collapse All | Expand All

(-)a/sshd.c (-1 / +1 lines)
Lines 431-437 sshd_exchange_identification(struct ssh *ssh, int sock_in, int sock_out) Link Here
431
	debug("Local version string %.200s", server_version_string);
431
	debug("Local version string %.200s", server_version_string);
432
432
433
	if (remote_major != 2 ||
433
	if (remote_major != 2 ||
434
	    (remote_major == 1 && remote_minor != 99)) {
434
	    !(remote_major == 1 && remote_minor == 99)) {
435
		s = "Protocol major versions differ.\n";
435
		s = "Protocol major versions differ.\n";
436
		(void) atomicio(vwrite, sock_out, s, strlen(s));
436
		(void) atomicio(vwrite, sock_out, s, strlen(s));
437
		close(sock_in);
437
		close(sock_in);

Return to bug 2810