Commit 72fb946e authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

replies to tcp queries were offset by two bytes

parent 4e422548
......@@ -320,7 +320,7 @@ dispatch(isc_mem_t *mctx, isc_region_t *rxr, unsigned int reslen)
return (DNS_R_NOMEMORY);
memcpy(txr.base + reslen, t + reslen, txr.length);
memcpy(txr.base + reslen, t, txr.length);
rxr->base = txr.base;
rxr->length = txr.length + reslen;
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