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

Collapse All | Expand All

(-)a/sshd.c (-1 / +9 lines)
Lines 1174-1180 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) Link Here
1174
				continue;
1174
				continue;
1175
			}
1175
			}
1176
			if (drop_connection(startups) == 1) {
1176
			if (drop_connection(startups) == 1) {
1177
				debug("drop connection #%d", startups);
1177
				char *laddr = get_local_ipaddr(*newsock);
1178
				char *raddr = get_peer_ipaddr(*newsock);
1179
1180
				verbose("drop connection #%d from [%s]:%d "
1181
				    "on [%s]:%d past MaxStartups", startups,
1182
				    raddr, get_peer_port(*newsock),
1183
				    laddr, get_local_port(*newsock));
1184
				free(laddr);
1185
				free(raddr);
1178
				close(*newsock);
1186
				close(*newsock);
1179
				continue;
1187
				continue;
1180
			}
1188
			}

Return to bug 2613