Review at  https://gerrit.osmocom.org/5072

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(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/72/5072/1

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: newchange
Gerrit-Change-Id: I64a970d300b7290d50ec84b0640d5a321d903f5e
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: dexter <[email protected]>

Reply via email to