summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-03-11 20:45:40 +1100
committerDamien Miller <djm@mindrot.org>2000-03-11 20:45:40 +1100
commit7bcb089ef791e2b624cf349ba24bf798aebef99a (patch)
tree40be5ead7ace0d0e16adb69781f05483e58511ca /channels.c
parentd58b3abe0e9d887a00679245065ee91b8565037f (diff)
- IPv6 workarounds from Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/channels.c b/channels.c
index 7d5e9a1af..090cbf095 100644
--- a/channels.c
+++ b/channels.c
@@ -16,7 +16,7 @@
16 */ 16 */
17 17
18#include "includes.h" 18#include "includes.h"
19RCSID("$Id: channels.c,v 1.17 2000/03/03 11:35:33 damien Exp $"); 19RCSID("$Id: channels.c,v 1.18 2000/03/11 09:45:41 damien Exp $");
20 20
21#include "ssh.h" 21#include "ssh.h"
22#include "packet.h" 22#include "packet.h"
@@ -1215,8 +1215,12 @@ x11_create_display_inet(int screen_number, int x11_display_offset)
1215 break; 1215 break;
1216 } 1216 }
1217 socks[num_socks++] = sock; 1217 socks[num_socks++] = sock;
1218#ifndef DONT_TRY_OTHER_AF
1218 if (num_socks == NUM_SOCKS) 1219 if (num_socks == NUM_SOCKS)
1219 break; 1220 break;
1221#else
1222 break;
1223#endif
1220 } 1224 }
1221 if (num_socks > 0) 1225 if (num_socks > 0)
1222 break; 1226 break;