diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-15 14:48:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-15 14:48:04 +0000 |
commit | 5743ad799f624901abbbf35748d8aeca9edbe66b (patch) | |
tree | 3a32f6fb04a42d139e0e14db68d77a9147d083e5 /src/nat | |
parent | f8f77ac80956c131876d1b0e24ed9c6eda53fc81 (diff) |
fix
Diffstat (limited to 'src/nat')
-rw-r--r-- | src/nat/test_nat_test.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/nat/test_nat_test.c b/src/nat/test_nat_test.c index e960bc3fdb..b3fb64221c 100644 --- a/src/nat/test_nat_test.c +++ b/src/nat/test_nat_test.c @@ -108,23 +108,17 @@ main (int argc, char *const argv[]) #endif NULL); - nat_res = GNUNET_OS_check_helper_binary ("gnunet-helper-nat-server"); - if (GNUNET_NO == nat_res) - { - GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n", - "gnunet-helper-nat-server", "SUID not set"); - return 0; - } + nat_res = GNUNET_OS_check_helper_binary ("gnunet-nat-server"); if (GNUNET_SYSERR == nat_res) { - GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' %s \n", - "gnunet-helper-nat-server", "file not found"); + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Cannot run NAT test: `%s' file not found\n", + "gnunet-nat-server"); return 0; } gns = - GNUNET_OS_start_process (NULL, NULL, "gnunet-helper-nat-server", - "gnunet-helper-nat-server", + GNUNET_OS_start_process (NULL, NULL, "gnunet-nat-server", + "gnunet-nat-server", #if VERBOSE "-L", "DEBUG", #endif |