aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/test_gnunet_vpn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpn/test_gnunet_vpn.c')
-rw-r--r--src/vpn/test_gnunet_vpn.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vpn/test_gnunet_vpn.c b/src/vpn/test_gnunet_vpn.c
index 6b0377f48..c7ff832e7 100644
--- a/src/vpn/test_gnunet_vpn.c
+++ b/src/vpn/test_gnunet_vpn.c
@@ -35,6 +35,8 @@
35 35
36#define VERBOSE GNUNET_NO 36#define VERBOSE GNUNET_NO
37 37
38#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 45)
39
38struct PeerContext 40struct PeerContext
39{ 41{
40 struct GNUNET_CONFIGURATION_Handle *cfg; 42 struct GNUNET_CONFIGURATION_Handle *cfg;
@@ -387,7 +389,7 @@ run (void *cls, char *const *args, const char *cfgfile,
387 GNUNET_YES, 389 GNUNET_YES,
388 GNUNET_TIME_UNIT_FOREVER_ABS, 390 GNUNET_TIME_UNIT_FOREVER_ABS,
389 &allocation_cb, NULL); 391 &allocation_cb, NULL);
390 ctrl_c_task_id = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, 392 ctrl_c_task_id = GNUNET_SCHEDULER_add_delayed (TIMEOUT,
391 &ctrl_c_shutdown, 393 &ctrl_c_shutdown,
392 NULL); 394 NULL);
393} 395}