diff options
Diffstat (limited to 'openbsc/src/nat')
-rw-r--r-- | openbsc/src/nat/Makefile.am | 6 | ||||
-rw-r--r-- | openbsc/src/nat/bsc_nat.c | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/openbsc/src/nat/Makefile.am b/openbsc/src/nat/Makefile.am index 0ca3bdfc2..2f37f5cd2 100644 --- a/openbsc/src/nat/Makefile.am +++ b/openbsc/src/nat/Makefile.am @@ -1,5 +1,5 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir) -AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) +AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(LIBOSMOSCCP_CFLAGS) AM_LDFLAGS = $(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS) bin_PROGRAMS = bsc_nat @@ -8,6 +8,6 @@ bin_PROGRAMS = bsc_nat bsc_nat_SOURCES = bsc_filter.c bsc_mgcp_utils.c bsc_nat.c bsc_nat_utils.c \ bsc_nat_vty.c bsc_sccp.c \ $(top_srcdir)/src/debug.c $(top_srcdir)/src/bsc_msc.c -bsc_nat_LDADD = $(top_builddir)/src/libvty.a $(top_builddir)/src/libsccp.a \ +bsc_nat_LDADD = $(top_builddir)/src/libvty.a \ $(top_builddir)/src/libmgcp.a $(top_builddir)/src/libbsc.a \ - -lrt + -lrt $(LIBOSMOSCCP_LIBS) diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index 538472ac2..0a3719341 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c @@ -1178,6 +1178,7 @@ int main(int argc, char** argv) signal(SIGPIPE, SIG_IGN); /* recycle timer */ + sccp_set_log_area(DSCCP); sccp_close.cb = sccp_close_unconfirmed; sccp_close.data = NULL; bsc_schedule_timer(&sccp_close, SCCP_CLOSE_TIME, 0); |