View | Details | Raw Unified | Return to bug 2057 | Differences between
and this patch

Collapse All | Expand All

(-)packet.c (-1 / +5 lines)
Lines 1460-1466 packet_read_poll_seqnr(u_int32_t *seqnr_ Link Here
1460
			case SSH2_MSG_DISCONNECT:
1460
			case SSH2_MSG_DISCONNECT:
1461
				reason = packet_get_int();
1461
				reason = packet_get_int();
1462
				msg = packet_get_string(NULL);
1462
				msg = packet_get_string(NULL);
1463
				error("Received disconnect from %s: %u: %.400s",
1463
				/* Ignore normal client exit notifications */
1464
				do_log2(active_state->server_side &&
1465
				    reason == SSH2_DISCONNECT_BY_APPLICATION ?
1466
				    SYSLOG_LEVEL_DEBUG1 : SYSLOG_LEVEL_ERROR,
1467
				    "Received disconnect from %s: %u: %.400s",
1464
				    get_remote_ipaddr(), reason, msg);
1468
				    get_remote_ipaddr(), reason, msg);
1465
				xfree(msg);
1469
				xfree(msg);
1466
				cleanup_exit(255);
1470
				cleanup_exit(255);

Return to bug 2057