Deleted Added
full compact
35c35
< "$FreeBSD: head/usr.sbin/ypserv/yp_dnslookup.c 90298 2002-02-06 15:26:07Z des $";
---
> "$FreeBSD: head/usr.sbin/ypserv/yp_dnslookup.c 103717 2002-09-20 20:09:27Z markm $";
179c179
< yp_error("res_mkquery failed");
---
> yp_error("res_mkquery failed for %s type %d", name, type);
389,406c389
< /*
< * If the lookup failed, try appending one of the domains
< * from resolv.conf. If we have no domains to test, the
< * query has failed.
< */
< if (hent == NULL) {
< if ((h_errno == TRY_AGAIN || h_errno == NO_RECOVERY)
< && q->domain && *q->domain) {
< snprintf(retrybuf, sizeof(retrybuf), "%s.%s",
< q->name, *q->domain);
< if (debug)
< yp_error("retrying with: %s", retrybuf);
< q->id = yp_send_dns_query(retrybuf, q->type);
< q->ttl = DEF_TTL;
< q->domain++;
< return;
< }
< } else {
---
> if (hent != NULL) {