]> git.pld-linux.org Git - packages/openssh.git/blob - openssh-bind.patch
Release 3 (by relup.sh)
[packages/openssh.git] / openssh-bind.patch
1 --- openssh-8.5p1/channels.c~   2021-03-02 11:31:47.000000000 +0100
2 +++ openssh-8.5p1/channels.c    2021-03-03 21:43:11.034054979 +0100
3 @@ -4579,6 +4579,9 @@ x11_create_display_inet(struct ssh *ssh,
4                                 debug2_f("bind port %d: %.100s", port,
5                                     strerror(errno));
6                                 close(sock);
7 +                               // vserver hack
8 +                               if (errno == EADDRNOTAVAIL)
9 +                                   continue;
10                                 for (n = 0; n < num_socks; n++)
11                                         close(socks[n]);
12                                 num_socks = 0;
This page took 0.075784 seconds and 3 git commands to generate.