projects
/
darkstat-debian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'upstream/3.0.717'
[darkstat-debian]
/
hosts_db.h
diff --git
a/hosts_db.h
b/hosts_db.h
index
f2f389a
..
3f869f1
100644
(file)
--- a/
hosts_db.h
+++ b/
hosts_db.h
@@
-9,7
+9,7
@@
#ifndef __DARKSTAT_HOSTS_DB_H
#define __DARKSTAT_HOSTS_DB_H
#ifndef __DARKSTAT_HOSTS_DB_H
#define __DARKSTAT_HOSTS_DB_H
-#include <sys/types.h> /* for
time_t and uint64_t (esp on FreeBSD)
*/
+#include <sys/types.h> /* for
uint64_t
*/
#include "addr.h"
#include "addr.h"
@@
-19,7
+19,7
@@
struct host {
struct addr addr;
char *dns;
uint8_t mac_addr[6];
struct addr addr;
char *dns;
uint8_t mac_addr[6];
-
time_t lastseen
;
+
long last_seen_mono
;
struct hashtable *ports_tcp, *ports_udp, *ip_protos;
};
struct hashtable *ports_tcp, *ports_udp, *ip_protos;
};