diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-04-05 19:46:20 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-05-03 22:32:43 +0200 |
commit | d6332809d8313903c65ccd28646f41b7c1aa6b99 (patch) | |
tree | ff4fb26a512cf14c6576440c101b403f3ed7e4e1 /openbsc/src/osmo-bsc/osmo_bsc_main.c | |
parent | c652913674ecc30f8d234878a17baa623cbacf99 (diff) |
bsc: Add access lists to the MSC and the BSC
It is a bit arbitary to decide which one is the global
and which one is the local one. We might change it around.
I don't think we want to introduce it based on BTS.
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_main.c')
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_main.c | 4 |
1 files changed, 4 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..77c9bf92b 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_main.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_main.c @@ -179,6 +179,7 @@ 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; @@ -196,6 +197,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); |