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

use isc_time_seconds rather than .seconds

parent bf59efcf
...@@ -1949,8 +1949,8 @@ resquery_send(resquery_t *query) { ...@@ -1949,8 +1949,8 @@ resquery_send(resquery_t *query) {
{ {
isc_boolean_t checknta = isc_boolean_t checknta =
ISC_TF((query->options & DNS_FETCHOPT_NONTA) == 0); ISC_TF((query->options & DNS_FETCHOPT_NONTA) == 0);
result = issecuredomain(res->view, &fctx->name, result = issecuredomain(res->view, &fctx->name, fctx->type,
fctx->type, query->start.seconds, isc_time_seconds(&query->start),
checknta, &secure_domain); checknta, &secure_domain);
if (result != ISC_R_SUCCESS) if (result != ISC_R_SUCCESS)
secure_domain = ISC_FALSE; secure_domain = ISC_FALSE;
......
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