Code

"list hosts" action: Add action to list all hosts.
[collection4.git] / src / graph_list.c
index f5cb2e9895e1096f77a2eb9e64ea622a2694bed7..e0f2b97d8b32151e7fb9a29bfc3ee9a897b580e9 100644 (file)
@@ -467,6 +467,7 @@ int gl_update (void) /* {{{ */
 {
   time_t now;
   int status;
+  size_t i;
 
   /*
   printf ("Content-Type: text/plain\n\n");
@@ -492,6 +493,9 @@ int gl_update (void) /* {{{ */
 
   gl_last_update = now;
 
+  for (i = 0; i < gl_active_num; i++)
+    graph_sort_instances (gl_active[i]);
+
   return (status);
 } /* }}} int gl_update */