Change in osmo-e1d[master]: print E1DP Mode as string, not in numeric format

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sat Jul 11 08:51:46 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/19219 )


Change subject: print E1DP Mode as string, not in numeric format
......................................................................

print E1DP Mode as string, not in numeric format

Change-Id: I4d221a45bdd5d85b3ab6eaa35d67683b50bea21f
---
M src/ctl.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/19/19219/1

diff --git a/src/ctl.c b/src/ctl.c
index 0fb42de..163024a 100644
--- a/src/ctl.c
+++ b/src/ctl.c
@@ -111,7 +111,7 @@
 {
 	int ret, sd[2];
 
-	LOGPTS(ts, DE1D, LOGL_INFO, "Starting in mode %u\n", mode);
+	LOGPTS(ts, DE1D, LOGL_INFO, "Starting in mode %s\n", get_value_string(osmo_e1dp_ts_mode_names, mode));
 
 	ret = socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sd);
 	if (ret < 0)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/19219
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I4d221a45bdd5d85b3ab6eaa35d67683b50bea21f
Gerrit-Change-Number: 19219
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200711/0bb20583/attachment.htm>


More information about the gerrit-log mailing list