diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-22 23:05:03 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-22 23:05:03 +0100 |
commit | 0292127467ca7cd00cbc08850f88bb272eb2c24b (patch) | |
tree | e9f4fdbca105e2236052d1b44127d92b2c324485 | |
parent | 5c2e458dca23027434d09f216570b110e643b448 (diff) |
debug: Set the right debug area for the M2UA code
-rw-r--r-- | src/main_stp.c | 3 | ||||
-rw-r--r-- | src/main_udt.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/main_stp.c b/src/main_stp.c index 1ae2e11..6e080b5 100644 --- a/src/main_stp.c +++ b/src/main_stp.c @@ -29,6 +29,8 @@ #include <cellmgr_debug.h> #include <sctp_m2ua.h> +#include <osmocom/m2ua/m2ua_msg.h> + #include <osmocore/talloc.h> #include <osmocom/vty/vty.h> @@ -213,6 +215,7 @@ int main(int argc, char **argv) log_set_use_color(stderr_target, 0); sccp_set_log_area(DSCCP); + m2ua_set_log_area(DM2UA); bsc.setup = 0; bsc.msc_address = "127.0.0.1"; diff --git a/src/main_udt.c b/src/main_udt.c index f8c5c6c..7f2f045 100644 --- a/src/main_udt.c +++ b/src/main_udt.c @@ -27,6 +27,8 @@ #include <snmp_mtp.h> #include <cellmgr_debug.h> +#include <osmocom/m2ua/m2ua_msg.h> + #include <osmocore/talloc.h> #include <osmocom/vty/vty.h> @@ -212,6 +214,7 @@ int main(int argc, char **argv) log_set_use_color(stderr_target, 0); sccp_set_log_area(DSCCP); + m2ua_set_log_area(DM2UA); bsc.setup = 0; bsc.msc_address = "127.0.0.1"; |