Browse code

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

Daniel-Constantin Mierla authored on 13/05/2013 08:59:20
Showing 1 changed files
... ...
@@ -161,6 +161,7 @@ static int route_add(struct route_list* rt, char* name, int i)
161 161
 		LOG(L_CRIT, "ERROR: route_add: out of memory\n");
162 162
 		goto error;
163 163
 	}
164
+	LM_DBG("mapping routing block (%p)[%s] to %d\n", rt, name, i);
164 165
 	e->key.s=name;
165 166
 	e->key.len=strlen(name);
166 167
 	e->flags=0;