diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-06-22 21:08:12 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-06-25 22:35:05 +0200 |
commit | c5b26c9959ff4a9d75e60ae5d8a05cd95ead1f29 (patch) | |
tree | f7f8299f0958a8946c93e73fa8552fbb1ed5c1c6 /src/sccp_scrc.c | |
parent | 3468d5dce45e34a63b52061b8aaa9c095f473cf4 (diff) |
gen_mtp_transfer_req_xua(): add addr to error log for missing DPC
Change-Id: Icfd45bcbecc440b94893db2aca537a162f210abd
Diffstat (limited to 'src/sccp_scrc.c')
-rw-r--r-- | src/sccp_scrc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sccp_scrc.c b/src/sccp_scrc.c index a4ce34c..e44201a 100644 --- a/src/sccp_scrc.c +++ b/src/sccp_scrc.c @@ -26,6 +26,7 @@ #include <sccp/sccp_types.h> #include <osmocom/sigtran/osmo_ss7.h> #include <osmocom/sigtran/sccp_sap.h> +#include <osmocom/sigtran/sccp_helpers.h> #include <osmocom/sigtran/protocol/sua.h> #include <osmocom/sigtran/protocol/mtp.h> @@ -125,7 +126,8 @@ static int gen_mtp_transfer_req_xua(struct osmo_sccp_instance *inst, xua->mtp.dpc = called->pc; if (!xua->mtp.dpc) { LOGP(DLSCCP, LOGL_ERROR, "MTP-TRANSFER.req from SCCP " - "without DPC?!?\n"); + "without DPC?!? called=%s\n", + osmo_sccp_addr_dump(called)); return -1; } |