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@mgw"
+#define MGCP_ENDPOINT_FORMAT "%x@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 <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to