diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-08-09 13:37:27 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2017-08-09 13:37:27 +0200 |
commit | 4cca03749c415f4c484e53bffb88d230dc878050 (patch) | |
tree | 6648d9fbe0b5b1d88184c7827b605c13b5e46ae5 /openbsc | |
parent | e94d11925152eee995a89d5c5b03a4470693e8e6 (diff) |
bsc/msc: fixup compiler issues
libosmo-sccp function osmo_ss7_vty_init_sg() now requires a talloc
context as parameter.
Note: It should not _asp() rather then _sg(). However, we can not
switch now, because then we will miss the vtx commands that
configure the default route. Since the default route is the only
valid route for application server processes, we need to fix this
in the simple client, so that this command is no longer needed,
when configuring the as. Also the VTX write functions of
libosmo-sccp need to be fixed first.
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_main.c | 4 | ||||
-rw-r--r-- | openbsc/src/osmo-msc/msc_main.c | 4 |
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); |