Skip to content
Snippets Groups Projects
Verified Commit 63a0c51d authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

modules/policy TC(): better detection of non-UDP requests

This amends commit 99e014ac.
parent 891bec64
Branches
Tags
1 merge request!1083server-side XDP support
......@@ -726,7 +726,7 @@ end
function policy.TC(state, req)
-- Avoid non-UDP queries
if req.qsource.flags.tcp then
if req.qsource.addr == nil or req.qsource.flags.tcp then
return state
end
......
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