Fix printing refclocks and IPv6 sources in statistics log

This commit is contained in:
Miroslav Lichvar
2009-11-30 17:18:28 +01:00
parent 19651dc767
commit 0f9892fe7a
5 changed files with 7 additions and 22 deletions

View File

@@ -170,7 +170,7 @@ SRC_Instance SRC_CreateNewInstance(unsigned long ref_id, SRC_Type type, IPAddr *
}
result = MallocNew(struct SRC_Instance_Record);
result->stats = SST_CreateInstance(ref_id);
result->stats = SST_CreateInstance(ref_id, addr);
if (n_sources == max_n_sources) {
/* Reallocate memory */