diff options
Diffstat (limited to 'ipsecmod/ipsecmod.c')
-rw-r--r-- | ipsecmod/ipsecmod.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipsecmod/ipsecmod.c b/ipsecmod/ipsecmod.c index 3e4ee6a53508..c8400c6333ee 100644 --- a/ipsecmod/ipsecmod.c +++ b/ipsecmod/ipsecmod.c @@ -341,6 +341,8 @@ ipsecmod_handle_query(struct module_qstate* qstate, qstate->env->cfg->ipsecmod_max_ttl; qstate->return_msg->rep->prefetch_ttl = PREFETCH_TTL_CALC( qstate->return_msg->rep->ttl); + qstate->return_msg->rep->serve_expired_ttl = qstate->return_msg->rep->ttl + + qstate->env->cfg->serve_expired_ttl; } } } |