aboutsummaryrefslogtreecommitdiff
path: root/src/vpn
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-08-29 13:09:25 +0000
committerChristian Grothoff <christian@grothoff.org>2012-08-29 13:09:25 +0000
commita4b74ef335873379d374d372bcce7c4228095bd5 (patch)
tree7948e9ea9d8f3fc9d2d767fd2490c8a1855d1129 /src/vpn
parent19a28dc192c59da09b2668c33fbbcce421f5a05d (diff)
downloadgnunet-a4b74ef335873379d374d372bcce7c4228095bd5.tar.gz
gnunet-a4b74ef335873379d374d372bcce7c4228095bd5.zip
only use control pipe with helpers IF the helper actually supports it
Diffstat (limited to 'src/vpn')
-rw-r--r--src/vpn/gnunet-service-vpn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c
index 6138e9c1e..48de1de46 100644
--- a/src/vpn/gnunet-service-vpn.c
+++ b/src/vpn/gnunet-service-vpn.c
@@ -3180,7 +3180,8 @@ run (void *cls,
3180 &tunnel_cleaner, 3180 &tunnel_cleaner,
3181 mesh_handlers, 3181 mesh_handlers,
3182 types); 3182 types);
3183 helper_handle = GNUNET_HELPER_start ("gnunet-helper-vpn", vpn_argv, 3183 helper_handle = GNUNET_HELPER_start (GNUNET_NO,
3184 "gnunet-helper-vpn", vpn_argv,
3184 &message_token, NULL, NULL); 3185 &message_token, NULL, NULL);
3185 nc = GNUNET_SERVER_notification_context_create (server, 1); 3186 nc = GNUNET_SERVER_notification_context_create (server, 1);
3186 GNUNET_SERVER_add_handlers (server, service_handlers); 3187 GNUNET_SERVER_add_handlers (server, service_handlers);