diff --git a/src/manage_sql.c b/src/manage_sql.c index 8fdb0a169..0eb7005d3 100644 --- a/src/manage_sql.c +++ b/src/manage_sql.c @@ -48006,7 +48006,10 @@ hosts_set_identifiers (report_t report) GString *select; if (report_host_noticeable (report, ip) == 0) - continue; + { + host_index++; + continue; + } quoted_host_name = sql_quote (ip);