lynxis lazus submitted this change.
tcap_as_loadshare: improve logging of lookup failures
Change-Id: I80878dfd080c705de28175260cb392186dafed6a
---
M src/tcap_as_loadshare.c
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/tcap_as_loadshare.c b/src/tcap_as_loadshare.c
index 1d6ebd9..79ab0c3 100644
--- a/src/tcap_as_loadshare.c
+++ b/src/tcap_as_loadshare.c
@@ -534,7 +534,7 @@
else {
/* couldn't find a suitable canditate for OTID */
rate_ctr_inc2(as->ctrg, SS7_AS_CTR_TCAP_ASP_FAILED);
- LOGPAS(as, DLTCAP, LOGL_DEBUG, "Couldn't find a suitable canditate for otid %u\n", parsed.otid);
+ LOGPAS(as, DLTCAP, LOGL_DEBUG, "Couldn't find a suitable canditate for TCAP Begin otid %u\n", parsed.otid);
rc = -ENOKEY;
goto out_free_sua;
}
@@ -551,7 +551,7 @@
asp = tcap_trans_track_continue(as, &called_addr, &parsed.dtid, &calling_addr, &parsed.otid);
if (!asp) {
- LOGPAS(as, DLTCAP, LOGL_INFO, "Couldn't find cached ASP for dtid %u/otid %u, using tcap route", parsed.dtid, parsed.otid);
+ LOGPAS(as, DLTCAP, LOGL_INFO, "Couldn't find cached ASP for TCAP Continue, dtid %u/otid %u, using tcap route", parsed.dtid, parsed.otid);
asp = tcap_as_asp_find_by_tcap_id(as, &calling_addr, &called_addr, parsed.dtid);
if (asp)
tcap_trans_track_entry_create(as, asp, &called_addr, &parsed.dtid, &calling_addr, &parsed.otid);
@@ -568,7 +568,7 @@
asp = tcap_trans_track_end(as, &called_addr, &parsed.dtid, &calling_addr, NULL);
if (!asp) {
- LOGPAS(as, DLTCAP, LOGL_INFO, "Couldn't find cached ASP for dtid %u/otid %u, using tcap route", parsed.dtid, parsed.otid);
+ LOGPAS(as, DLTCAP, LOGL_INFO, "Couldn't find cached ASP for TCAP End, dtid %u, using tcap route", parsed.dtid);
asp = tcap_as_asp_find_by_tcap_id(as, &calling_addr, &called_addr, parsed.dtid);
}
rc = asp ? 0 : -ENOKEY;
To view, visit change 42753. To unsubscribe, or for help writing mail filters, visit settings.