summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-nitb
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-03-13 15:39:56 +0100
committerHarald Welte <laforge@gnumonks.org>2013-03-13 15:40:14 +0100
commit7159e8bea3e39bf74ec26356f7317df5d540b77a (patch)
treeebf3c44bb11c1a626fa9a28daf67aacefe1e5b76 /openbsc/src/osmo-nitb
parent3f786003464fe0ff32eea263cb8b8cb4c3e981ea (diff)
Fix osmo-nitb build without libsmpp
Diffstat (limited to 'openbsc/src/osmo-nitb')
-rw-r--r--openbsc/src/osmo-nitb/bsc_hack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c
index 13fa1c587..172fb8269 100644
--- a/openbsc/src/osmo-nitb/bsc_hack.c
+++ b/openbsc/src/osmo-nitb/bsc_hack.c
@@ -279,7 +279,9 @@ int main(int argc, char **argv)
rc = bsc_bootstrap_network(int_mncc_recv, config_file);
if (rc < 0)
exit(1);
+#ifdef BUILD_SMPP
smpp_openbsc_set_net(bsc_gsmnet);
+#endif
bsc_api_init(bsc_gsmnet, msc_bsc_api());
bsc_gsmnet->ctrl = controlif_setup(bsc_gsmnet, 4249);