check for osmo_ss7_init() error return value

Change-Id: I2bc34f3962ca7355f20757e36a86ab2fd1a7aef6
This commit is contained in:
Harald Welte 2019-12-01 13:19:51 +01:00
parent 11bf0bc09c
commit e000050971
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ int main(int argc, char **argv)
/* For --version, vty_init() must be called before handling options */
vty_init(&msc_vty_info);
osmo_ss7_init();
OSMO_ASSERT(osmo_ss7_init() == 0);
osmo_ss7_vty_init_asp(tall_msc_ctx);
osmo_sccp_vty_init();