core: debug message to show mapping of routing block names to ids
authorDaniel-Constantin Mierla <miconda@gmail.com>
Mon, 13 May 2013 08:59:20 +0000 (10:59 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Mon, 13 May 2013 08:59:20 +0000 (10:59 +0200)
route.c

diff --git a/route.c b/route.c
index 17c1b56..1c5897c 100644 (file)
--- 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;