]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix wrong default value call for dot-to-port-853 setting 10659/head
authorOtto <otto.moerbeek@open-xchange.com>
Mon, 23 Aug 2021 08:14:42 +0000 (10:14 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Mon, 23 Aug 2021 08:14:42 +0000 (10:14 +0200)
pdns/pdns_recursor.cc

index 158675c76dee5fc1827314abeae8a2945e8203e6..c41186025ebc068e7cfad81a3f89885eeb1f25c2 100644 (file)
@@ -5928,7 +5928,7 @@ int main(int argc, char **argv)
     ::arg().set("edns-padding-mode", "Whether to add EDNS padding to all responses ('always') or only to responses for queries containing the EDNS padding option ('padded-queries-only', the default). In both modes, padding will only be added to responses for queries coming from `edns-padding-from`_ sources")="padded-queries-only";
     ::arg().set("edns-padding-tag", "Packetcache tag associated to responses sent with EDNS padding, to prevent sending these to clients for which padding is not enabled.")="7830";
 
-    ::arg().set("dot-to-port-853", "Force DoT connection to target port 853 if DoT compiled in")="yes";
+    ::arg().setSwitch("dot-to-port-853", "Force DoT connection to target port 853 if DoT compiled in")="yes";
     ::arg().set("dot-to-auth-names", "Use DoT to authoritative servers with these names or suffixes")="";
 
     ::arg().setCmd("help","Provide a helpful message");