pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/39672?usp=email )
Change subject: Log DPC with configured pointcode format upon routing failure ......................................................................
Log DPC with configured pointcode format upon routing failure
Similar to what's already done in most other places.
Change-Id: Iba19a6b4f8f739cdd836a480d099077ba4370c0f --- M src/osmo_ss7_hmrt.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/72/39672/1
diff --git a/src/osmo_ss7_hmrt.c b/src/osmo_ss7_hmrt.c index 839b8ad..118acab 100644 --- a/src/osmo_ss7_hmrt.c +++ b/src/osmo_ss7_hmrt.c @@ -208,7 +208,8 @@ } else OSMO_ASSERT(0); } else { - LOGP(DLSS7, LOGL_ERROR, "MTP-TRANSFER.req for DPC %u: no route!\n", dpc); + LOGP(DLSS7, LOGL_ERROR, "MTP-TRANSFER.req for dpc=%u=%s: no route!\n", + dpc, osmo_ss7_pointcode_print(inst, dpc)); /* DPC unknown HMRT -> MGMT */ /* Message Received for inaccesible SP HMRT ->RTPC */ /* Discard Message */