Преглед изворни кода

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

Daniel-Constantin Mierla пре 12 година
родитељ
комит
80e8058d9a
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      route.c

+ 1 - 0
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;