From: Christian Grothoff Date: Fri, 23 Jun 2017 22:06:42 +0000 (+0200) Subject: start VPN helper also if only services are running X-Git-Tag: gnunet-0.11.0rc0~218 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7ff73348021ab84f2a3447c5c891f6b635a5ba00;p=oweals%2Fgnunet.git start VPN helper also if only services are running --- 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,