diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-30 02:53:14 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-31 04:09:38 +0800 |
commit | 30e1ae923db16c480cf210a29c8befa57a69202b (patch) | |
tree | fc64d6d9e4b4b7e3bb5b5e798ed284a2206b821f /openbsc/tests/bsc-nat/bsc_nat_test.c | |
parent | c44db4a5341c1c86de784bb74d4dbd2063a4c010 (diff) |
sccp: Use the external libosmo-sccp as sccp implementation
Add --enable-nat and --enable-osmo-bsc to build applications
requiring the Osmo SCCP library to be installed. We are not
using autodiscover as this is out of fashion.
Diffstat (limited to 'openbsc/tests/bsc-nat/bsc_nat_test.c')
-rw-r--r-- | openbsc/tests/bsc-nat/bsc_nat_test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index 6771b314e..1b45014b5 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -29,6 +29,8 @@ #include <osmocore/talloc.h> +#include <sccp/sccp.h> + #include <stdio.h> /* test messages for ipa */ @@ -699,6 +701,7 @@ int main(int argc, char **argv) { struct log_target *stderr_target; + sccp_set_log_area(DSCCP); log_init(&log_info); stderr_target = log_target_create_stderr(); log_add_target(stderr_target); |