From e86c02e107d9bef11a69ecef85d923ae4f523ef3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 10 Feb 2011 15:32:14 +0100 Subject: bsc: Move the BSC<->MSC variables to a new struct. Move the MSC related information out of the bsc_data and update the code to use this BSC configuration. This is greatly cleaning up the code and in theory there might now be two BSC and two MSCs that one application can handle (minus the missing VTY config) --- src/links.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/links.c') diff --git a/src/links.c b/src/links.c index af8f9d0..c5ac5da 100644 --- a/src/links.c +++ b/src/links.c @@ -90,7 +90,7 @@ static void start_rest(void *start) struct mtp_link *data; bsc.setup = 1; - if (msc_init(&bsc, 1) != 0) { + if (msc_init(&bsc.msc_forward, 1) != 0) { fprintf(stderr, "Failed to init MSC part.\n"); exit(3); } -- cgit v1.2.3