From: Y7n05h Date: Thu, 9 Jun 2022 15:55:12 +0000 (+0800) Subject: dnsdist: fix build error X-Git-Tag: auth-4.8.0-alpha0~66^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bca343309a3fcb86ed0336cc8b4ec58dff03525;p=thirdparty%2Fpdns.git dnsdist: fix build error Signed-off-by: Y7n05h --- diff --git a/pdns/bpf-filter.cc b/pdns/bpf-filter.cc index 6cd85423ba..6bdf84d5cb 100644 --- a/pdns/bpf-filter.cc +++ b/pdns/bpf-filter.cc @@ -192,7 +192,6 @@ struct QNameValue uint16_t qtype{0}; }; -using CounterAndActionValue = BPFFilter::CounterAndActionValue; BPFFilter::Map::Map(const BPFFilter::MapConfiguration& config, BPFFilter::MapFormat format): d_config(config) { diff --git a/pdns/bpf-filter.hh b/pdns/bpf-filter.hh index 3c27108a3e..2ab3aa561b 100644 --- a/pdns/bpf-filter.hh +++ b/pdns/bpf-filter.hh @@ -178,3 +178,4 @@ private: bool d_external; #endif /* HAVE_EBPF */ }; +using CounterAndActionValue = BPFFilter::CounterAndActionValue;