summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proto/rpki/rpki.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rpki/rpki.c b/proto/rpki/rpki.c
index aa07f7d9..3e46b6d1 100644
--- a/proto/rpki/rpki.c
+++ b/proto/rpki/rpki.c
@@ -701,7 +701,7 @@ rpki_reconfigure_cache(struct rpki_proto *p UNUSED, struct rpki_cache *cache, st
#endif
#define TEST_INTERVAL(name, Name) \
- if (cache->name##_interval != new->name##_interval || \
+ if (old->name##_interval != new->name##_interval || \
old->keep_##name##_interval != new->keep_##name##_interval) \
{ \
cache->name##_interval = new->name##_interval; \