aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-06-24 00:06:42 +0200
committerChristian Grothoff <christian@grothoff.org>2017-06-24 00:06:42 +0200
commit7ff73348021ab84f2a3447c5c891f6b635a5ba00 (patch)
tree93e9c2aba49b3ab6cc27d0945e50f3ce31f04536 /src
parentd7547ab18052726a69ee088876389a18798e03a8 (diff)
downloadgnunet-7ff73348021ab84f2a3447c5c891f6b635a5ba00.tar.gz
gnunet-7ff73348021ab84f2a3447c5c891f6b635a5ba00.zip
start VPN helper also if only services are running
Diffstat (limited to 'src')
-rw-r--r--src/exit/gnunet-daemon-exit.c5
1 files 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,
3852 3852
3853 /* Cadet handle acquired, now open ports and announce regular 3853 /* Cadet handle acquired, now open ports and announce regular
3854 expressions matching our exit */ 3854 expressions matching our exit */
3855 if ( (GNUNET_YES == ipv4_enabled) && (GNUNET_YES == ipv4_exit) ) 3855 if ( (GNUNET_YES == ipv4_enabled) &&
3856 (GNUNET_YES == ipv4_exit) )
3856 { 3857 {
3857 GNUNET_CRYPTO_hash (GNUNET_APPLICATION_PORT_IPV4_GATEWAY, 3858 GNUNET_CRYPTO_hash (GNUNET_APPLICATION_PORT_IPV4_GATEWAY,
3858 strlen (GNUNET_APPLICATION_PORT_IPV4_GATEWAY), 3859 strlen (GNUNET_APPLICATION_PORT_IPV4_GATEWAY),
@@ -3931,7 +3932,7 @@ run (void *cls,
3931 GNUNET_free (prefixed_regex); 3932 GNUNET_free (prefixed_regex);
3932 } 3933 }
3933 } 3934 }
3934 if ((ipv4_exit) || (ipv6_exit)) 3935 if ((ipv4_enabled) || (ipv6_enabled))
3935 helper_handle = GNUNET_HELPER_start (GNUNET_NO, 3936 helper_handle = GNUNET_HELPER_start (GNUNET_NO,
3936 "gnunet-helper-exit", 3937 "gnunet-helper-exit",
3937 exit_argv, 3938 exit_argv,