]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix 'false' instead of '0' and 'on' instead of 'one' 4859/head
authorRobin Geuze <robing@transip.nl>
Fri, 6 Jan 2017 14:16:24 +0000 (15:16 +0100)
committerRobin Geuze <robing@transip.nl>
Fri, 6 Jan 2017 14:16:24 +0000 (15:16 +0100)
pdns/dnsdist-console.cc
pdns/dnsdist.cc

index a317af9aaacfa1b7e48546048d830641c6d7df07..3dd3ad7d1462ab4091b245cf0eeb7c79df8044f0 100644 (file)
@@ -366,7 +366,7 @@ const std::vector<ConsoleKeyword> 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" },
index 8f471c02e14733e140cb4bd555dea6f13c47985f..e9737b9f76cb8a316f6b44fff6a3379e14546b21 100644 (file)
@@ -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