aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_main.c4
-rw-r--r--openbsc/src/osmo-msc/msc_main.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_main.c b/openbsc/src/osmo-bsc/osmo_bsc_main.c
index 68f8b492d..dd1276eba 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_main.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_main.c
@@ -219,7 +219,9 @@ int main(int argc, char **argv)
/* Initalize SS7 */
osmo_ss7_init();
- osmo_ss7_vty_init_sg();
+ /* FIXME: this must be _asp() and not _sg(), however fixing this
+ * now will break VTY! */
+ osmo_ss7_vty_init_sg(tall_bsc_ctx);
INIT_LLIST_HEAD(&access_lists);
diff --git a/openbsc/src/osmo-msc/msc_main.c b/openbsc/src/osmo-msc/msc_main.c
index 11ae6cbbd..57620ed19 100644
--- a/openbsc/src/osmo-msc/msc_main.c
+++ b/openbsc/src/osmo-msc/msc_main.c
@@ -414,7 +414,9 @@ int main(int argc, char **argv)
vty_init(&msc_vty_info);
osmo_ss7_init();
- osmo_ss7_vty_init_sg();
+ /* FIXME: this must be _asp() and not _sg(), however fixing this
+ * now will break VTY! */
+ osmo_ss7_vty_init_sg(tall_msc_ctx);
/* Parse options */
handle_options(argc, argv);