LDNS_RCODE_NOTIMPL != LDNS_RCODE_NOTIMP

This commit is contained in:
Russell McConnachie 2020-12-14 15:57:38 -08:00
parent 9ebc600e63
commit 2805bfd250

View file

@ -134,7 +134,7 @@ response_type_from_server(int rdset,
/* Other response codes mean (so far) to throw the response away as
* meaningless and move on to the next nameserver. */
if(FLAGS_GET_RCODE(msg->rep->flags) != LDNS_RCODE_NOERROR && FLAGS_GET_RCODE(msg->rep->flags) != LDNS_RCODE_NOTIMP)
if(FLAGS_GET_RCODE(msg->rep->flags) != LDNS_RCODE_NOERROR && FLAGS_GET_RCODE(msg->rep->flags) != LDNS_RCODE_NOTIMPL)
return RESPONSE_TYPE_THROWAWAY;
/* Note: TC bit has already been handled */