summaryrefslogtreecommitdiffstats
path: root/dnsdist-lua-vars.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dnsdist-lua-vars.cc')
-rw-r--r--dnsdist-lua-vars.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/dnsdist-lua-vars.cc b/dnsdist-lua-vars.cc
index 265568f..89927b7 100644
--- a/dnsdist-lua-vars.cc
+++ b/dnsdist-lua-vars.cc
@@ -51,6 +51,7 @@ void setupLuaVars(LuaContext& luaCtx)
{"Drop", (int)DNSResponseAction::Action::Drop },
{"HeaderModify", (int)DNSResponseAction::Action::HeaderModify },
{"ServFail", (int)DNSResponseAction::Action::ServFail },
+ {"Truncate", (int)DNSResponseAction::Action::Truncate },
{"None", (int)DNSResponseAction::Action::None }
});