Activate accounting for IPv6 hosts.
[darkstat] / hosts_db.c
index 81d7959..d0d0b85 100644 (file)
@@ -331,7 +331,7 @@ format_row_host(struct str *buf, const struct bucket *b,
 
    str_appendf(buf,
       "<tr class=\"%s\">\n"
-      " <td><a href=\"%s/\">%s</a></td>\n"
+      " <td><a href=\"/hosts/%s/\">%s</a></td>\n"
       " <td>%s</td>\n",
       css_class,
       ip, ip,