diff options
author | Christian Fuchs <christian.fuchs@cfuchs.net> | 2013-04-19 14:50:35 +0000 |
---|---|---|
committer | Christian Fuchs <christian.fuchs@cfuchs.net> | 2013-04-19 14:50:35 +0000 |
commit | 2660d770616a348aabb9480dcbafa4841ae84aa0 (patch) | |
tree | 64844d3cb78699f688a15b4dbb3daaf584c909e1 /src/nat/nat.c | |
parent | c8fe1a3b7ce92edd1f4f2035103ed547123c3666 (diff) | |
download | gnunet-2660d770616a348aabb9480dcbafa4841ae84aa0.tar.gz gnunet-2660d770616a348aabb9480dcbafa4841ae84aa0.zip |
added privilege testing parameters for helper-vpn, exit and nat-client.
todo: nat-server
Diffstat (limited to 'src/nat/nat.c')
-rw-r--r-- | src/nat/nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nat/nat.c b/src/nat/nat.c index e1ec88028..84ca2efa2 100644 --- a/src/nat/nat.c +++ b/src/nat/nat.c | |||
@@ -1183,7 +1183,7 @@ GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg, int is_tcp, | |||
1183 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-nat-client"); | 1183 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-nat-client"); |
1184 | if ((GNUNET_YES == h->enable_nat_client) && | 1184 | if ((GNUNET_YES == h->enable_nat_client) && |
1185 | (GNUNET_YES != | 1185 | (GNUNET_YES != |
1186 | GNUNET_OS_check_helper_binary (binary, GNUNET_YES, NULL))) // FIXME: CF: add test-parameters | 1186 | GNUNET_OS_check_helper_binary (binary, GNUNET_YES, "-d 127.0.0.1 127.0.0.2 42"))) // none of these parameters are actually used in privilege testing mode |
1187 | { | 1187 | { |
1188 | h->enable_nat_client = GNUNET_NO; | 1188 | h->enable_nat_client = GNUNET_NO; |
1189 | LOG (GNUNET_ERROR_TYPE_WARNING, | 1189 | LOG (GNUNET_ERROR_TYPE_WARNING, |