Skip to content

Commit

Permalink
dnsdist: Unbreak addBPFFilterDynBlocks()
Browse files Browse the repository at this point in the history
The `exceed*()` functions return a different kind of map since
2e32ba8 and I forgot to update
`addBPFFilterDynBlocks()` accordingly.
  • Loading branch information
rgacogne committed Mar 26, 2018
1 parent 1af5d76 commit f2013ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/dnsdist-lua2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ void moreLua(bool client)
}
});

g_lua.writeFunction("addBPFFilterDynBlocks", [](const map<ComboAddress,int>& m, std::shared_ptr<DynBPFFilter> dynbpf, boost::optional<int> seconds) {
g_lua.writeFunction("addBPFFilterDynBlocks", [](const counts_t& m, std::shared_ptr<DynBPFFilter> dynbpf, boost::optional<int> seconds) {
setLuaSideEffect();
struct timespec until, now;
clock_gettime(CLOCK_MONOTONIC, &now);
Expand Down

0 comments on commit f2013ed

Please sign in to comment.