[sr-dev] git:master: core: debug message to show mapping of routing block names to ids

Daniel-Constantin Mierla miconda at gmail.com
Mon May 13 11:02:15 CEST 2013


Module: sip-router
Branch: master
Commit: 80e8058d9acea7c994819d043456fd1b449b048b
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=80e8058d9acea7c994819d043456fd1b449b048b

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon May 13 10:59:20 2013 +0200

core: debug message to show mapping of routing block names to ids

---

 route.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/route.c b/route.c
index 17c1b56..1c5897c 100644
--- a/route.c
+++ b/route.c
@@ -161,6 +161,7 @@ static int route_add(struct route_list* rt, char* name, int i)
 		LOG(L_CRIT, "ERROR: route_add: out of memory\n");
 		goto error;
 	}
+	LM_DBG("mapping routing block (%p)[%s] to %d\n", rt, name, i);
 	e->key.s=name;
 	e->key.len=strlen(name);
 	e->flags=0;




More information about the sr-dev mailing list