aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-06-07 20:56:18 +0200
committerDaniel Willmann <daniel@totalueberwachung.de>2011-11-04 12:27:09 +0100
commit7c6e5f863c178e1496572f368ab6c9f26e035443 (patch)
treebcb58d0ae152fcd8ce42efe3fa739f222402d05d /openbsc/src
parentf0aa61135dc1415480eb84e03b0cd83f3c1cf4fa (diff)
bsc: Introduce a local MSC type and forbid it from being selected
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_filter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_filter.c b/openbsc/src/osmo-bsc/osmo_bsc_filter.c
index 200360ac9..3bc2dfd7f 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_filter.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_filter.c
@@ -142,6 +142,8 @@ round_robin:
llist_for_each_entry(msc, &bsc->mscs, entry) {
if (!msc->msc_con->is_authenticated)
continue;
+ if (msc->type != MSC_CON_TYPE_NORMAL)
+ continue;
/* force round robin by moving it to the end */
llist_move_tail(&msc->entry, &bsc->mscs);