aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc/osmo_bsc_main.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-05 20:53:42 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-05-03 22:33:35 +0200
commitec0cb7c64d5d42e8d0d599b209a3eabacfceba60 (patch)
tree4f31fc47e9f723dad6c77e732a88592b98a06fa9 /openbsc/src/osmo-bsc/osmo_bsc_main.c
parentd6332809d8313903c65ccd28646f41b7c1aa6b99 (diff)
bsc: Add access list filtering to the BSC
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_main.c')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_main.c b/openbsc/src/osmo-bsc/osmo_bsc_main.c
index 77c9bf92b..ee86cb647 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_main.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_main.c
@@ -59,6 +59,12 @@ static const char *config_file = "openbsc.cfg";
static const char *rf_ctrl = NULL;
extern const char *openbsc_copyright;
static int daemonize = 0;
+static struct llist_head access_lists;
+
+struct llist_head *bsc_access_lists(void)
+{
+ return &access_lists;
+}
static void print_usage()
{
@@ -179,7 +185,6 @@ static void signal_handler(int signal)
int main(int argc, char **argv)
{
- struct llist_head access_lists;
struct osmo_msc_data *msc;
struct osmo_bsc_data *data;
int rc;