4427. [bug] The "query" and "response" parameters to the
"dnstap" option had their functions reversed.
+4427. [bug] The "query" and "response" parameters to the
+ "dnstap" option had their functions reversed.
+
--- 9.11.0b3 released ---
4426. [bug] Addressed Coverity warnings. [RT #42908]
}
str = cfg_obj_asstring(obj2);
- if (strcasecmp(str, "query")) {
+ if (strcasecmp(str, "query") == 0) {
dt &= ~DNS_DTTYPE_RESPONSE;
- } else if (strcasecmp(str, "response")) {
+ } else if (strcasecmp(str, "response") == 0) {
dt &= ~DNS_DTTYPE_QUERY;
}