From: Otto Date: Mon, 23 Aug 2021 08:14:42 +0000 (+0200) Subject: Fix wrong default value call for dot-to-port-853 setting X-Git-Tag: dnsdist-1.7.0-alpha1~56^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10659%2Fhead;p=thirdparty%2Fpdns.git Fix wrong default value call for dot-to-port-853 setting --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 158675c76d..c41186025e 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -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");