X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fnat%2Ftest_nat.c;h=e7325eb0c6f3415350b68634788acb78fe4e71ae;hb=70466ec3c34f9a920e9e798e3169f886e9486a59;hp=f81f00f6bc2e4c4862d39a2f7590ec81ab4aa6ff;hpb=71ea5bd2d05058008e604ffd42993be9c7250e04;p=oweals%2Fgnunet.git diff --git a/src/nat/test_nat.c b/src/nat/test_nat.c index f81f00f6b..e7325eb0c 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_EXTRA_LOGGING - - /** * 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; }