pcu: Call bssgp_set_log_ss(DBSSGP) in main()

Currently the BSSGP functions in libosmocore do not log correctly to
DBSSGP since the DBSSGP variable in common_vty.c is left
uninitialized.

This commit adds the call to bssgp_set_log_ss() to inform libosmocore
which sub system id it shall use for BSSGP.

Sponsored-by: On-Waves ehf
This commit is contained in:
Jacob Erlbeck 2015-04-09 19:26:39 +02:00
parent 90de3a7ffe
commit 00fc6b13f2
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ int main(int argc, char *argv[])
msgb_set_talloc_ctx(tall_pcu_ctx);
osmo_init_logging(&gprs_log_info);
bssgp_set_log_ss(DBSSGP);
vty_init(&pcu_vty_info);
pcu_vty_init(&gprs_log_info);