aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-07-05 13:29:42 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-07-05 13:29:42 +0800
commitf0945408f56336093def24f3cf11ab2740c5908e (patch)
treefae8974f3e2003ae6ce610c7f7baba68d4bd3899 /openbsc/tests
parent49ab278b6fe05be5e2cf3e9be9dee7e4b81b3870 (diff)
nat: Fix the testcase and init the logging infrastructure
Diffstat (limited to 'openbsc/tests')
-rw-r--r--openbsc/tests/bsc-nat/bsc_nat_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c
index ecd25c08b..d49ab6c93 100644
--- a/openbsc/tests/bsc-nat/bsc_nat_test.c
+++ b/openbsc/tests/bsc-nat/bsc_nat_test.c
@@ -699,6 +699,7 @@ int main(int argc, char **argv)
{
struct log_target *stderr_target;
+ log_init(&log_info);
stderr_target = log_target_create_stderr();
log_add_target(stderr_target);
log_set_all_filter(stderr_target, 1);