From c91bc0c92de1aa8670a2f402fd4d087d094be47a Mon Sep 17 00:00:00 2001 From: phonedph1 Date: Mon, 9 Sep 2019 09:06:13 -0600 Subject: [PATCH] Update dnsdist-console.cc Allow CDB to work without having LMDB. --- pdns/dnsdist-console.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdist-console.cc b/pdns/dnsdist-console.cc index b4cec15c4..83613b9de 100644 --- a/pdns/dnsdist-console.cc +++ b/pdns/dnsdist-console.cc @@ -437,7 +437,7 @@ const std::vector g_consoleKeywords{ { "NetmaskGroupRule", true, "nmg[, src]", "Matches traffic from/to the network range specified in nmg. Set the src parameter to false to match nmg against destination address instead of source address. This can be used to differentiate between clients" }, { "newBPFFilter", true, "maxV4, maxV6, maxQNames", "Return a new eBPF socket filter with a maximum of maxV4 IPv4, maxV6 IPv6 and maxQNames qname entries in the block table" }, { "newCA", true, "address", "Returns a ComboAddress based on `address`" }, -#ifdef HAVE_LMDB +#ifdef HAVE_CDB { "newCDBKVStore", true, "fname, refreshDelay", "Return a new KeyValueStore object associated to the corresponding CDB database" }, #endif { "newDNSName", true, "name", "make a DNSName based on this .-terminated name" }, -- 2.50.1