fix and/or logic

This commit is contained in:
AJ ONeal 2017-11-02 12:14:44 -06:00
parent d4646dba06
commit 49811bd321
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ module.exports.query = function (input, query, cb) {
results.header.rcode = NOERROR;
//console.log('[DEV] ANSWER results', results);
if (255 === query.question[0].type && 'ANY' === query.question[0].typeName) {
if (255 === query.question[0].type || 'ANY' === query.question[0].typeName) {
getNsAndSoa(false, true);
return;
}