aboutsummaryrefslogtreecommitdiff
path: root/networking/rptaddrs.c
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2017-03-04 20:59:09 +0100
committerBjørn Mork <bjorn@mork.no>2017-03-04 21:04:49 +0100
commit6937c3f2bd8cf40ce8d2f0d3fea37f076e4ce709 (patch)
treed93c729f5f045412b7bd94e0e9e908695eebce2b /networking/rptaddrs.c
parent729eb50738777d6dbc27f81d854c824b32bebb05 (diff)
ripe-atlas-fw: imported version 47404740
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'networking/rptaddrs.c')
-rw-r--r--networking/rptaddrs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/networking/rptaddrs.c b/networking/rptaddrs.c
index 33d20cf..8506ac8 100644
--- a/networking/rptaddrs.c
+++ b/networking/rptaddrs.c
@@ -642,12 +642,10 @@ static int check_cache(char *cache_name)
need_report= 0;
if (stat(cache_name, &sb) == 0 &&
- sb.st_mtime < time(NULL) - 30 * 24 * 3600)
+ sb.st_mtime < time(NULL) - 3600)
{
/* This basically makes sure that this information gets
- * reported again when the clock is set for the first time.
- * A side effect is that it gets reported once a month if
- * nothing changes.
+ * reported regularly.
*/
need_report= 1;
}