aboutsummaryrefslogtreecommitdiff
path: root/src/nat/test_nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nat/test_nat.c')
-rw-r--r--src/nat/test_nat.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/nat/test_nat.c b/src/nat/test_nat.c
index 98b57b3..e7325eb 100644
--- a/src/nat/test_nat.c
+++ b/src/nat/test_nat.c
@@ -41,9 +41,6 @@
#include "gnunet_nat_lib.h"
-#define VERBOSE GNUNET_NO
-
-
/**
* Time to wait before stopping NAT, in seconds
*/
@@ -164,28 +161,14 @@ main (int argc, char *const argv[])
"test-nat",
"-c",
"test_nat_data.conf",
- "-L",
-#if VERBOSE
- "DEBUG",
-#else
- "WARNING",
-#endif
NULL
};
-
GNUNET_log_setup ("test-nat",
-#if VERBOSE
- "DEBUG",
-#else
"WARNING",
-#endif
NULL);
-
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Testing NAT library, timeout set to %d seconds\n", TIMEOUT);
-
- GNUNET_PROGRAM_run (5, argv_prog, "test-nat", "nohelp", options, &run, NULL);
-
+ GNUNET_PROGRAM_run (3, argv_prog, "test-nat", "nohelp", options, &run, NULL);
return 0;
}