[MERGED] osmo-bsc[master]: mgcp: use hexadecimal digits in endpoint names

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Dec 1 16:08:55 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: mgcp: use hexadecimal digits in endpoint names
......................................................................


mgcp: use hexadecimal digits in endpoint names

The current implementation of osmo-mgw parses the numerical
digit inside the endpoint name as hexadecimal number.

also use hexadecimal numbers in endpoint names.

Change-Id: I64a970d300b7290d50ec84b0640d5a321d903f5e
---
M src/osmo-bsc/osmo_bsc_mgcp.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bsc/osmo_bsc_mgcp.c b/src/osmo-bsc/osmo_bsc_mgcp.c
index f0c31df..0f35a46 100644
--- a/src/osmo-bsc/osmo_bsc_mgcp.c
+++ b/src/osmo-bsc/osmo_bsc_mgcp.c
@@ -39,7 +39,7 @@
 #define MGCP_BSS_TIMEOUT 4	/* in seconds */
 #define MGCP_BSS_TIMEOUT_TIMER_NR 2
 
-#define MGCP_ENDPOINT_FORMAT "%i at mgw"
+#define MGCP_ENDPOINT_FORMAT "%x at mgw"
 
 /* Some internal cause codes to indicate fault
  * condition inside the FSM */

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I64a970d300b7290d50ec84b0640d5a321d903f5e
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list