From 7ff73348021ab84f2a3447c5c891f6b635a5ba00 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 24 Jun 2017 00:06:42 +0200 Subject: [PATCH] start VPN helper also if only services are running --- src/exit/gnunet-daemon-exit.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c index 2cd3441a1..c1000db6d 100644 --- a/src/exit/gnunet-daemon-exit.c +++ b/src/exit/gnunet-daemon-exit.c @@ -3852,7 +3852,8 @@ run (void *cls, /* Cadet handle acquired, now open ports and announce regular expressions matching our exit */ - if ( (GNUNET_YES == ipv4_enabled) && (GNUNET_YES == ipv4_exit) ) + if ( (GNUNET_YES == ipv4_enabled) && + (GNUNET_YES == ipv4_exit) ) { GNUNET_CRYPTO_hash (GNUNET_APPLICATION_PORT_IPV4_GATEWAY, strlen (GNUNET_APPLICATION_PORT_IPV4_GATEWAY), @@ -3931,7 +3932,7 @@ run (void *cls, GNUNET_free (prefixed_regex); } } - if ((ipv4_exit) || (ipv6_exit)) + if ((ipv4_enabled) || (ipv6_enabled)) helper_handle = GNUNET_HELPER_start (GNUNET_NO, "gnunet-helper-exit", exit_argv, -- 2.25.1