Skip to content

Commit

Permalink
Merge pull request #6386 from rgacogne/dnsdist-12-ebpf
Browse files Browse the repository at this point in the history
dnsdist: Unbreak addBPFFilterDynBlocks()
  • Loading branch information
rgacogne committed Mar 26, 2018
2 parents 1af5d76 + f2013ed commit 02e81c1
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 02e81c1

Please sign in to comment.