diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 06:28:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 06:28:35 +0000 |
commit | 037d21f508ef664d9592182d7b9b8d6989c28098 (patch) | |
tree | d6e5a84872adb93665f8a7e8831b70981c1c2351 /test-dnsdist_cc.cc | |
parent | Adding upstream version 1.9.4. (diff) | |
download | dnsdist-037d21f508ef664d9592182d7b9b8d6989c28098.tar.xz dnsdist-037d21f508ef664d9592182d7b9b8d6989c28098.zip |
Adding upstream version 1.9.5.upstream/1.9.5
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test-dnsdist_cc.cc')
-rw-r--r-- | test-dnsdist_cc.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test-dnsdist_cc.cc b/test-dnsdist_cc.cc index 90a513f..44f37a6 100644 --- a/test-dnsdist_cc.cc +++ b/test-dnsdist_cc.cc @@ -74,6 +74,8 @@ bool DNSDistSNMPAgent::sendBackendStatusChangeTrap(DownstreamState const&) { return false; } + +#ifdef HAVE_XSK namespace dnsdist::xsk { bool XskProcessQuery(ClientState& clientState, LocalHolders& holders, XskPacket& packet) @@ -81,6 +83,7 @@ bool XskProcessQuery(ClientState& clientState, LocalHolders& holders, XskPacket& return false; } } +#endif /* HAVE_XSK */ bool processResponderPacket(std::shared_ptr<DownstreamState>& dss, PacketBuffer& response, const std::vector<DNSDistResponseRuleAction>& localRespRuleActions, const std::vector<DNSDistResponseRuleAction>& cacheInsertedRespRuleActions, InternalQueryState&& ids) { |