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.
This commit is contained in:
Holger Hans Peter Freyther
2011-04-12 19:16:18 +02:00
parent 0e8facca42
commit 18fe88933c

View File

@@ -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));