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

fix bad NSID/EDNS interaction [RT #17952]

parent c73ee3f0
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: resolver.c,v 1.367 2008/04/07 05:32:52 marka Exp $ */
/* $Id: resolver.c,v 1.368 2008/04/10 07:20:11 marka Exp $ */
/*! \file */
......@@ -1600,7 +1600,7 @@ resquery_send(resquery_t *query) {
udpsize, reqnsid);
if (reqnsid && result == ISC_R_SUCCESS) {
query->options |= DNS_FETCHOPT_WANTNSID;
} else {
} else if (result != ISC_R_SUCCESS) {
/*
* We couldn't add the OPT, but we'll press on.
* We're not using EDNS0, so set the NOEDNS0
......
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