DNS: tag res_search() hack by lookup type in debug output; munge ipv6 lines in testsuite
[users/jgh/exim.git] / src / src / verify.c
index 384739b2b3ea46383e3c4849e9c177743f3819b8..fc8cd84ea91f50119f2616c50d452a3ab4bd950a 100644 (file)
@@ -3478,7 +3478,7 @@ else
       dns_basic_lookup(), we have a dnslist cache entry allocated and
       tree-inserted. So we may as well use it. */
 
-      time_t soa_negttl = dns_expire_from_soa(dnsa);
+      time_t soa_negttl = dns_expire_from_soa(dnsa, T_A);
       cb->expiry = soa_negttl ? soa_negttl : time(NULL) + ttl;
       break;
       }