aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-10-12 14:08:52 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-10-12 14:08:52 +0200
commit4938b385d8f200d4b4bd28cf09d6f9e28bf88154 (patch)
treed3bbc507a55916ba2a0036d69d3d51eaeace442b
parent078905a0603c91b227854abfa01c9e24143e39a1 (diff)
nat: Log endpoint nr consistently as hex
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c
index 986306c14..06799bb0b 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c
@@ -211,7 +211,7 @@ int bsc_mgcp_assign_patch(struct nat_sccp_connection *con, struct msgb *msg)
llist_for_each_entry(mcon, &con->bsc->nat->sccp_connections, list_entry) {
if (mcon->msc_endp == endp) {
LOGP(DNAT, LOGL_ERROR,
- "Endpoint %d was assigned to 0x%x and now 0x%x\n",
+ "Endpoint 0x%x was assigned to 0x%x and now 0x%x\n",
endp,
sccp_src_ref_to_int(&mcon->patched_ref),
sccp_src_ref_to_int(&con->patched_ref));