Commit d2dc0830 authored by Mark Andrews's avatar Mark Andrews
Browse files

set now on all paths

parent 6343df71
...@@ -213,6 +213,7 @@ fetch_done(isc_task_t *task, isc_event_t *event) { ...@@ -213,6 +213,7 @@ fetch_done(isc_task_t *task, isc_event_t *event) {
dns_db_detach(&devent->db); dns_db_detach(&devent->db);
isc_event_free(&event); isc_event_free(&event);
isc_stdtime_get(&now);
switch (eresult) { switch (eresult) {
case ISC_R_SUCCESS: case ISC_R_SUCCESS:
...@@ -220,7 +221,6 @@ fetch_done(isc_task_t *task, isc_event_t *event) { ...@@ -220,7 +221,6 @@ fetch_done(isc_task_t *task, isc_event_t *event) {
case DNS_R_NXDOMAIN: case DNS_R_NXDOMAIN:
case DNS_R_NCACHENXRRSET: case DNS_R_NCACHENXRRSET:
case DNS_R_NXRRSET: case DNS_R_NXRRSET:
isc_stdtime_get(&now);
nta->expiry = now; nta->expiry = now;
break; break;
default: default:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment