From 3f7586d5710208e158f561c180ec6e210878b7b3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 22 Apr 2010 13:06:24 +0800 Subject: nat: Use hex for the endpoint names --- openbsc/src/nat/bsc_mgcp_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc') diff --git a/openbsc/src/nat/bsc_mgcp_utils.c b/openbsc/src/nat/bsc_mgcp_utils.c index 7bba41342..79bd2a5d6 100644 --- a/openbsc/src/nat/bsc_mgcp_utils.c +++ b/openbsc/src/nat/bsc_mgcp_utils.c @@ -113,7 +113,7 @@ static void bsc_mgcp_send_mdcx(struct bsc_connection *bsc, struct mgcp_endpoint int len; len = snprintf(buf, sizeof(buf), - "MDCX 23 %d@mgw MGCP 1.0\r\n" + "MDCX 23 %x@mgw MGCP 1.0\r\n" "Z: noanswer\r\n" "\r\n" "c=IN IP4 %s\r\n" @@ -133,7 +133,7 @@ static void bsc_mgcp_send_dlcx(struct bsc_connection *bsc, int endpoint) int len; len = snprintf(buf, sizeof(buf), - "DLCX 23 %d@mgw MGCP 1.0\r\n" + "DLCX 23 %x@mgw MGCP 1.0\r\n" "Z: noanswer\r\n", endpoint); if (len < 0) { LOGP(DMGCP, LOGL_ERROR, "snprintf for DLCX failed.\n"); -- cgit v1.2.3