[PATCH] libosmo-abis[master]: osmo_ortp: use ortp_set_log_level_mask

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Jan 3 11:59:20 UTC 2017


Hello Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/1527

to look at the new patch set (#2).

osmo_ortp: use ortp_set_log_level_mask

since ortp 0.26.0 the log_level_mask is different. It's
includes now a log domain.

Change-Id: Icc87dbcd406906d8e2ef86b39360ff01efa38a9b
---
M configure.ac
M src/trau/osmo_ortp.c
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/27/1527/2

diff --git a/configure.ac b/configure.ac
index f463c2e..40afaa5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,7 +43,7 @@
 PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.0)
 PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
 PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.10)
-PKG_CHECK_MODULES(ORTP, ortp >= 0.22.0)
+PKG_CHECK_MODULES(ORTP, ortp >= 0.26.0)
 
 AC_CHECK_HEADERS(dahdi/user.h,,AC_MSG_WARN(DAHDI input driver will not be built))
 
diff --git a/src/trau/osmo_ortp.c b/src/trau/osmo_ortp.c
index d4d4ff5..ff78e75 100644
--- a/src/trau/osmo_ortp.c
+++ b/src/trau/osmo_ortp.c
@@ -273,7 +273,7 @@
 	tall_rtp_ctx = ctx;
 	ortp_set_memory_functions(&osmo_ortp_memfn);
 	ortp_init();
-	ortp_set_log_level_mask(0xffff);
+	ortp_set_log_level_mask(NULL, 0xffff);
 	ortp_set_log_handler(my_ortp_logfn);
 	create_payload_types();
 }

-- 
To view, visit https://gerrit.osmocom.org/1527
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icc87dbcd406906d8e2ef86b39360ff01efa38a9b
Gerrit-PatchSet: 2
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>


More information about the gerrit-log mailing list