summaryrefslogtreecommitdiff
path: root/src/vpn
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-26 15:24:57 +0000
committerChristian Grothoff <christian@grothoff.org>2015-05-26 15:24:57 +0000
commitfd40063b16d12f18145a583ef10b925feb8d57df (patch)
tree9dc937f0e0024d8be9aa5dd03a3f58c2f47ee86a /src/vpn
parentdae4222c75b4879cf1524d4dc93bb6f023f468ca (diff)
-note
Diffstat (limited to 'src/vpn')
-rw-r--r--src/vpn/gnunet-helper-vpn.c4
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)
/* write refers to reading from stdin, writing to fd_tun */
int write_open = 1;
+ /* FIXME: this should work with '&&', but then 2/5 VPN
+ tests fail. With '||' the tests pass, but this process
+ keeps running --- but only for the 'GNS' test ---
+ even though the stdout is closed :-(. Very confusing. */
while ((1 == read_open) || (1 == write_open))
{
FD_ZERO (&fds_w);