summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-nitb
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-04-12 19:16:18 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-04-12 19:16:48 +0200
commit18fe88933c57d765f702293eeaa3a16a111af631 (patch)
tree65ad2eaeadeb9e43dd19ae44de8f603ac845d784 /openbsc/src/osmo-nitb
parent0e8facca42ab4d1a918993e62770efb89034c76d (diff)
nitb: Listen for incoming MNCC connections only once
There is no point in creating the MNCC socket twice. Only create it if the user requested this when starting the nitb.
Diffstat (limited to 'openbsc/src/osmo-nitb')
-rw-r--r--openbsc/src/osmo-nitb/bsc_hack.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c
index 30474d247..739253b90 100644
--- a/openbsc/src/osmo-nitb/bsc_hack.c
+++ b/openbsc/src/osmo-nitb/bsc_hack.c
@@ -266,7 +266,6 @@ int main(int argc, char **argv)
if (rc < 0)
exit(1);
bsc_api_init(bsc_gsmnet, msc_bsc_api());
- mncc_sock_init(bsc_gsmnet);
/* seed the PRNG */
srand(time(NULL));