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-05-03 22:34:01 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-05-03 22:34:16 +0200
commit337343d159888886eaa68476b70dbe19db93845b (patch)
tree318a8135477e0dcc8f8e24d2380342c254ab9d60 /openbsc/src/osmo-bsc/osmo_bsc_main.c
parent38159428d2b1e95a2c6fa91775f7b3678aef2f1f (diff)
parentd26b8fcbe22eb4a56c87f0114a0e826551243511 (diff)
Merge branch 'zecke/features/acc-list'
Integrate the change and see how it is going. The unit tests for the NAT look good so we might not have regressions.
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_main.c')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_main.c b/openbsc/src/osmo-bsc/osmo_bsc_main.c
index 5c3885575..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()
{
@@ -196,6 +202,9 @@ int main(int argc, char **argv)
vty_info.copyright = openbsc_copyright;
vty_init(&vty_info);
bsc_vty_init(&log_info);
+ bsc_msg_lst_vty_init(tall_bsc_ctx, &access_lists, BSC_NODE);
+
+ INIT_LLIST_HEAD(&access_lists);
/* parse options */
handle_options(argc, argv);