summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-29 19:04:31 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-29 19:04:31 +0200
commit7f33ccb920df2c308aa3076522bea683c66cb83d (patch)
treedd84a6fa62c936583cc8e28daf89e0713b4dd1ea /src/fastd.h
parent620f1cd45f44eb2dc2d9dd16bdf6ba4512a1bd69 (diff)
downloadfastd-7f33ccb920df2c308aa3076522bea683c66cb83d.tar
fastd-7f33ccb920df2c308aa3076522bea683c66cb83d.zip
Don't initialize monotone timestamps with zero
The monotone timestamp is near zero on linux systems, confusing fastd.
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 848a5d3..dcb35b4 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -162,6 +162,8 @@ struct fastd_peer_group {
};
struct fastd_config {
+ struct timespec long_ago;
+
fastd_loglevel_t log_stderr_level;
fastd_loglevel_t log_syslog_level;
char *log_syslog_ident;