Fix type errors in format strings in hosts_db and use time_t instead of long.
[darkstat] / hosts_db.h
index 3f869f1..c9abfec 100644 (file)
@@ -19,7 +19,7 @@ struct host {
    struct addr addr;
    char *dns;
    uint8_t mac_addr[6];
-   long last_seen_mono;
+   time_t last_seen_mono;
    struct hashtable *ports_tcp, *ports_udp, *ip_protos;
 };