aboutsummaryrefslogtreecommitdiff
path: root/src/nat/test_nat.c
diff options
context:
space:
mode:
authorBertrand Marc <beberking@gmail.com>2012-06-06 20:47:48 +0200
committerBertrand Marc <beberking@gmail.com>2012-06-06 20:47:48 +0200
commit740b30688bd745a527f96f9116c19acb3480971a (patch)
tree2709a3f4dba11c174aa9e1ba3612e30c578e76a9 /src/nat/test_nat.c
parent2b81464a43485fcc8ce079fafdee7b7a171835f4 (diff)
Imported Upstream version 0.9.3upstream/0.9.3
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;
}