aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/bsc-nat/bsc_nat_test.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:18:40 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:31:43 +0800
commit434a1fd84e6dbeb538d570f836430734b6967b17 (patch)
treefe5938692cc8474dcd230d86f9ae8dc09d65822d /openbsc/tests/bsc-nat/bsc_nat_test.c
parent1398f13a64116157eba74e74a587d1799380623a (diff)
nat: Make the test compile, no bssap.c, use log_target
Diffstat (limited to 'openbsc/tests/bsc-nat/bsc_nat_test.c')
-rw-r--r--openbsc/tests/bsc-nat/bsc_nat_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c
index 224406ea..d1db2e4d 100644
--- a/openbsc/tests/bsc-nat/bsc_nat_test.c
+++ b/openbsc/tests/bsc-nat/bsc_nat_test.c
@@ -697,11 +697,11 @@ static void test_cr_filter()
int main(int argc, char **argv)
{
- struct debug_target *stderr_target;
+ struct log_target *stderr_target;
- stderr_target = debug_target_create_stderr();
- debug_add_target(stderr_target);
- debug_set_all_filter(stderr_target, 1);
+ stderr_target = log_target_create_stderr();
+ log_add_target(stderr_target);
+ log_set_all_filter(stderr_target, 1);
test_filter();
test_contrack();