소스 검색

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;