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

Collapse All | Expand All

(-)openssh-6.1p1/channels.c (+6 lines)
Lines 3473-3478 x11_create_display_inet(int x11_display_ Link Here
3473
				debug2("bind port %d: %.100s", port, strerror(errno));
3473
				debug2("bind port %d: %.100s", port, strerror(errno));
3474
				close(sock);
3474
				close(sock);
3475
3475
3476
				/* Linux returns both IPv4 adn IPv6 local
3477
				   addresses here even if IPv6 is disabled.
3478
				   Ignore error in this case.
3479
				*/
3480
				if (ai->ai_family == AF_INET6 && errno == EADDRNOTAVAIL)
3481
					continue;
3476
				for (n = 0; n < num_socks; n++) {
3482
				for (n = 0; n < num_socks; n++) {
3477
					close(socks[n]);
3483
					close(socks[n]);
3478
				}
3484
				}

Return to bug 2143