diff --git a/pdns/dnsdist-lua2.cc b/pdns/dnsdist-lua2.cc index 6f90a79b99f3..c78a58f6271c 100644 --- a/pdns/dnsdist-lua2.cc +++ b/pdns/dnsdist-lua2.cc @@ -1232,7 +1232,7 @@ void moreLua(bool client) } }); - g_lua.writeFunction("addBPFFilterDynBlocks", [](const map& m, std::shared_ptr dynbpf, boost::optional seconds) { + g_lua.writeFunction("addBPFFilterDynBlocks", [](const counts_t& m, std::shared_ptr dynbpf, boost::optional seconds) { setLuaSideEffect(); struct timespec until, now; clock_gettime(CLOCK_MONOTONIC, &now);