]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsbulktest: Correctly set the default value for the 'www' param
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 29 May 2019 12:46:15 +0000 (14:46 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 29 May 2019 12:53:49 +0000 (14:53 +0200)
Reported by Coverity (CID 1401667).

pdns/dnsbulktest.cc

index c2f21ba92b4e6fa2e801d29ba23fb97c9195dd9f..18bfeee6cf07776ae98909a899b570cc57cadd6b 100644 (file)
@@ -222,7 +222,7 @@ try
     ("type,t",  po::value<string>()->default_value("A"), "What type to query for")
     ("envoutput,e", "write report in shell environment format")
     ("version", "show the version number")
-    ("www", po::value<bool>()->default_value("true"), "duplicate all queries with an additional 'www.' in front")
+    ("www", po::value<bool>()->default_value(true), "duplicate all queries with an additional 'www.' in front")
   ;
 
   po::options_description alloptions;