diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-04-09 19:26:39 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-04-09 19:26:39 +0200 |
commit | 00fc6b13f266dab31e7a00d62b0988970fa20697 (patch) | |
tree | eb4d90b6e665d17510905f1509f7d4eefbb56eac | |
parent | 90de3a7ffed01e8f5196c2dd2af6d23ac47734f3 (diff) |
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
-rw-r--r-- | src/pcu_main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp index 8631ad33..08feb894 100644 --- a/src/pcu_main.cpp +++ b/src/pcu_main.cpp @@ -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); |