From: Grigorii Demidov Date: Wed, 18 Jan 2017 12:15:05 +0000 (+0100) Subject: modules/policy: QTRACE policy; cleanup X-Git-Tag: v1.2.0-rc3~3^2~2^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c48a2b952deeecf2cf445be57a9d171c267193e7;p=thirdparty%2Fknot-resolver.git modules/policy: QTRACE policy; cleanup --- diff --git a/modules/policy/policy.lua b/modules/policy/policy.lua index 5934aea4a..57fdacfaa 100644 --- a/modules/policy/policy.lua +++ b/modules/policy/policy.lua @@ -229,7 +229,7 @@ function policy.enforce(state, req, action) return kres.DONE end elseif action == policy.QTRACE then - req.options = bit.band(bit.bor(req.options, kres.query.TRACE)) + req.options = bit.bor(req.options, kres.query.TRACE) elseif type(action) == 'function' then return action(state, req) end