projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- use tunnel encryption state to select decryption key
[oweals/gnunet.git]
/
src
/
nat
/
test_nat.c
diff --git
a/src/nat/test_nat.c
b/src/nat/test_nat.c
index f81f00f6bc2e4c4862d39a2f7590ec81ab4aa6ff..b38713a80ecb1d0889b4902888466e74d159c14d 100644
(file)
--- a/
src/nat/test_nat.c
+++ b/
src/nat/test_nat.c
@@
-34,16
+34,12
@@
*/
#include "platform.h"
*/
#include "platform.h"
-#include "gnunet_common.h"
#include "gnunet_util_lib.h"
#include "gnunet_program_lib.h"
#include "gnunet_scheduler_lib.h"
#include "gnunet_nat_lib.h"
#include "gnunet_util_lib.h"
#include "gnunet_program_lib.h"
#include "gnunet_scheduler_lib.h"
#include "gnunet_nat_lib.h"
-#define VERBOSE GNUNET_EXTRA_LOGGING
-
-
/**
* Time to wait before stopping NAT, in seconds
*/
/**
* Time to wait before stopping NAT, in seconds
*/
@@
-164,28
+160,14
@@
main (int argc, char *const argv[])
"test-nat",
"-c",
"test_nat_data.conf",
"test-nat",
"-c",
"test_nat_data.conf",
- "-L",
-#if VERBOSE
- "DEBUG",
-#else
- "WARNING",
-#endif
NULL
};
NULL
};
-
GNUNET_log_setup ("test-nat",
GNUNET_log_setup ("test-nat",
-#if VERBOSE
- "DEBUG",
-#else
"WARNING",
"WARNING",
-#endif
NULL);
NULL);
-
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Testing NAT library, timeout set to %d seconds\n", TIMEOUT);
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;
}
return 0;
}