diff options
-rw-r--r-- | src/vpn/gnunet-helper-vpn.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vpn/gnunet-helper-vpn.c b/src/vpn/gnunet-helper-vpn.c index 3bf0704f9..521aba0f8 100644 --- a/src/vpn/gnunet-helper-vpn.c +++ b/src/vpn/gnunet-helper-vpn.c | |||
@@ -360,6 +360,10 @@ run (int fd_tun) | |||
360 | /* write refers to reading from stdin, writing to fd_tun */ | 360 | /* write refers to reading from stdin, writing to fd_tun */ |
361 | int write_open = 1; | 361 | int write_open = 1; |
362 | 362 | ||
363 | /* FIXME: this should work with '&&', but then 2/5 VPN | ||
364 | tests fail. With '||' the tests pass, but this process | ||
365 | keeps running --- but only for the 'GNS' test --- | ||
366 | even though the stdout is closed :-(. Very confusing. */ | ||
363 | while ((1 == read_open) || (1 == write_open)) | 367 | while ((1 == read_open) || (1 == write_open)) |
364 | { | 368 | { |
365 | FD_ZERO (&fds_w); | 369 | FD_ZERO (&fds_w); |