From 961c2b3df008bb6df78c2e62dc943ebacd4db9b2 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Mon, 2 Jul 2018 12:53:04 +0200 Subject: [PATCH] tm: more explicit debug message when not matching reply to transaction --- src/modules/tm/t_lookup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/tm/t_lookup.c b/src/modules/tm/t_lookup.c index 494afd457c1..dde02343cb8 100644 --- a/src/modules/tm/t_lookup.c +++ b/src/modules/tm/t_lookup.c @@ -882,13 +882,13 @@ int t_reply_matching( struct sip_msg *p_msg , int *p_branch ) /* sanity check */ if (unlikely(reverse_hex2int(hashi, hashl, &hash_index)<0 - ||hash_index>=TABLE_ENTRIES + || hash_index>=TABLE_ENTRIES || reverse_hex2int(branchi, branchl, &branch_id)<0 || branch_id>=sr_dst_max_branches || loopl!=MD5_LEN) ) { - LM_DBG("poor reply labels %d label %d branch %d\n", - hash_index, entry_label, branch_id ); + LM_DBG("poor reply ids - index %d label %d branch %d loopl %d/%d\n", + hash_index, entry_label, branch_id, loopl, MD5_LEN); goto nomatch2; }