Browse Source

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

Daniel-Constantin Mierla 12 năm trước cách đây
mục cha
commit
80e8058d9a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;