aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-11-16 11:03:19 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-11-16 11:03:19 +0100
commit594ee9a8c444034d75f995e0efbae646ddae2761 (patch)
tree002248352a90cec7567d5bf5327cecf1d759300c /src/main.c
parented3046339e141938cd0eb3a45e7ab91e518675ac (diff)
udt_relay: Add a forked copy of main to just relay messages
Do not run any of the header rewriting for messages. This will simply relay SCCP friends to the MTP library. Some work on msc_conn.c is needed to avoid calling most of it.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index bcb4035..a5f850f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -703,7 +703,7 @@ static void start_rest(void *start)
{
bsc.setup = 1;
- if (msc_init(&bsc) != 0) {
+ if (msc_init(&bsc, 1) != 0) {
fprintf(stderr, "Failed to init MSC part.\n");
exit(3);
}