From e72fbfc40642223f4e08b037d090035043ae74f8 Mon Sep 17 00:00:00 2001 From: Robin Geuze Date: Fri, 6 Jan 2017 15:16:24 +0100 Subject: [PATCH] Fix 'false' instead of '0' and 'on' instead of 'one' --- pdns/dnsdist-console.cc | 2 +- pdns/dnsdist.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/dnsdist-console.cc b/pdns/dnsdist-console.cc index a317af9aaa..3dd3ad7d14 100644 --- a/pdns/dnsdist-console.cc +++ b/pdns/dnsdist-console.cc @@ -366,7 +366,7 @@ const std::vector g_consoleKeywords{ { "topResponseRule", true, "", "move the last response rule to the first position" }, { "topRule", true, "", "move the last rule to the first position" }, { "topSlow", true, "[top][, limit][, labels]", "show `top` queries slower than `limit` milliseconds, grouped by last `labels` labels" }, - { "truncateTC", true, "bool", "if set (defaults to no starting with dnsdist 1.2.0) truncate TC=1 answers so they are actually empty. Fixes an issue for PowerDNS Authoritative Server 2.9.22. Note: turning this one breaks compatibility with RFC 6891." }, + { "truncateTC", true, "bool", "if set (defaults to no starting with dnsdist 1.2.0) truncate TC=1 answers so they are actually empty. Fixes an issue for PowerDNS Authoritative Server 2.9.22. Note: turning this on breaks compatibility with RFC 6891." }, { "unregisterDynBPFFilter", true, "DynBPFFilter", "unregister this dynamic BPF filter" }, { "webserver", true, "address:port, password [, apiKey [, customHeaders ]])", "launch a webserver with stats on that address with that password" }, { "whashed", false, "", "Weighted hashed ('sticky') distribution over available servers, based on the server 'weight' parameter" }, diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index 8f471c02e1..e9737b9f76 100644 --- a/pdns/dnsdist.cc +++ b/pdns/dnsdist.cc @@ -136,7 +136,7 @@ int g_tcpSendTimeout{2}; int g_udpTimeout{2}; bool g_servFailOnNoPolicy{false}; -bool g_truncateTC{0}; +bool g_truncateTC{false}; bool g_fixupCase{0}; static void truncateTC(const char* packet, uint16_t* len) try -- 2.47.2