summaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/libmgcp/mgcp_protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libmgcp/mgcp_protocol.c b/openbsc/src/libmgcp/mgcp_protocol.c
index 689c91f54..3ecf6e260 100644
--- a/openbsc/src/libmgcp/mgcp_protocol.c
+++ b/openbsc/src/libmgcp/mgcp_protocol.c
@@ -509,7 +509,7 @@ static int verify_call_id(const struct mgcp_endpoint *endp,
static int verify_ci(const struct mgcp_endpoint *endp,
const char *_ci)
{
- uint32_t ci = strtoul(_ci, NULL, 10);
+ uint32_t ci = strtoul(_ci, NULL, 16);
if (ci != endp->ci) {
LOGP(DMGCP, LOGL_ERROR, "ConnectionIdentifiers do not match on 0x%x. %x != %x\n",