diff options
author | Christian Fuchs <christian.fuchs@cfuchs.net> | 2013-04-19 14:58:06 +0000 |
---|---|---|
committer | Christian Fuchs <christian.fuchs@cfuchs.net> | 2013-04-19 14:58:06 +0000 |
commit | 1079f746c943b2efffa28970fe03f679334c3bb3 (patch) | |
tree | 84772e454aafeb26dc13cc6ed6455fb7c40bc10d /src/nat/nat.c | |
parent | 2660d770616a348aabb9480dcbafa4841ae84aa0 (diff) | |
download | gnunet-1079f746c943b2efffa28970fe03f679334c3bb3.tar.gz gnunet-1079f746c943b2efffa28970fe03f679334c3bb3.zip |
added privilege testing parameters for nat-server and added parameters
to currently windows-only tests (less work in the future, even if this
is ATM unused)
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 84ca2efa2..515fa1eb8 100644 --- a/src/nat/nat.c +++ b/src/nat/nat.c | |||
@@ -1171,7 +1171,7 @@ GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg, int is_tcp, | |||
1171 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-nat-server"); | 1171 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-nat-server"); |
1172 | if ((h->behind_nat == GNUNET_YES) && (GNUNET_YES == h->enable_nat_server) && | 1172 | if ((h->behind_nat == GNUNET_YES) && (GNUNET_YES == h->enable_nat_server) && |
1173 | (GNUNET_YES != | 1173 | (GNUNET_YES != |
1174 | GNUNET_OS_check_helper_binary (binary, GNUNET_YES, NULL))) // FIXME: CF: add test-parameters | 1174 | GNUNET_OS_check_helper_binary (binary, GNUNET_YES, "-d 127.0.0.1" ))) // use localhost as source for that one udp-port, ok for testing |
1175 | { | 1175 | { |
1176 | h->enable_nat_server = GNUNET_NO; | 1176 | h->enable_nat_server = GNUNET_NO; |
1177 | LOG (GNUNET_ERROR_TYPE_WARNING, | 1177 | LOG (GNUNET_ERROR_TYPE_WARNING, |