diff options
-rw-r--r-- | src/arm/gnunet-service-arm_interceptor.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/arm/gnunet-service-arm_interceptor.c b/src/arm/gnunet-service-arm_interceptor.c index 021baa673..c5a5fa56b 100644 --- a/src/arm/gnunet-service-arm_interceptor.c +++ b/src/arm/gnunet-service-arm_interceptor.c | |||
@@ -989,14 +989,15 @@ acceptConnection (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
989 | return; | 989 | return; |
990 | GNUNET_CONTAINER_DLL_remove (serviceListeningInfoList_head, | 990 | GNUNET_CONTAINER_DLL_remove (serviceListeningInfoList_head, |
991 | serviceListeningInfoList_tail, sli); | 991 | serviceListeningInfoList_tail, sli); |
992 | use_lsocks = GNUNET_NO; | 992 | use_lsocks = GNUNET_YES; |
993 | if (GNUNET_YES == | 993 | if ((GNUNET_YES == |
994 | GNUNET_CONFIGURATION_have_value (cfg, sli->serviceName, | 994 | GNUNET_CONFIGURATION_have_value (cfg, "arm", |
995 | "DISABLE_SOCKET_FORWARDING")) | 995 | "ENABLE_INTERCEPTOR")) && |
996 | use_lsocks = | 996 | (GNUNET_YES == |
997 | GNUNET_CONFIGURATION_get_value_yesno (cfg, sli->serviceName, | 997 | GNUNET_CONFIGURATION_get_value_yesno (cfg, "arm", |
998 | "DISABLE_SOCKET_FORWARDING"); | 998 | "ENABLE_INTERCEPTOR")) ) |
999 | if (GNUNET_NO != use_lsocks) | 999 | use_lsocks = GNUNET_NO; |
1000 | if (GNUNET_YES != use_lsocks) | ||
1000 | { | 1001 | { |
1001 | accept_and_forward (sli); | 1002 | accept_and_forward (sli); |
1002 | return; | 1003 | return; |