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

Collapse All | Expand All

(-)openssh-5.8p1/packet.c.packet (+2 lines)
Lines 294-299 packet_connection_is_on_socket(void) Link Here
294
	struct sockaddr_storage from, to;
294
	struct sockaddr_storage from, to;
295
	socklen_t fromlen, tolen;
295
	socklen_t fromlen, tolen;
296
296
297
	if (!active_state)
298
		return 0;
297
	/* filedescriptors in and out are the same, so it's a socket */
299
	/* filedescriptors in and out are the same, so it's a socket */
298
	if (active_state->connection_in == active_state->connection_out)
300
	if (active_state->connection_in == active_state->connection_out)
299
		return 1;
301
		return 1;

Return to bug 1889