From: Peter van Dijk Date: Fri, 4 Sep 2020 09:31:59 +0000 (+0200) Subject: dnsdist docs: TCPRule argument is not optional X-Git-Tag: rec-4.5.0-alpha0~18^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9445%2Fhead;p=thirdparty%2Fpdns.git dnsdist docs: TCPRule argument is not optional --- diff --git a/pdns/dnsdistdist/docs/rules-actions.rst b/pdns/dnsdistdist/docs/rules-actions.rst index b13df7968f..f1b32adde2 100644 --- a/pdns/dnsdistdist/docs/rules-actions.rst +++ b/pdns/dnsdistdist/docs/rules-actions.rst @@ -826,11 +826,11 @@ These ``DNSRule``\ s be one of the following items: :param bool name: The name of the tag that has to be set :param bool value: If set, the value the tag has to be set to. Default is unset -.. function:: TCPRule([tcp]) +.. function:: TCPRule(tcp) Matches question received over TCP if ``tcp`` is true, over UDP otherwise. - :param bool tcp: Match TCP traffic. Default is true. + :param bool tcp: Match TCP traffic if true, UDP traffic if false. .. function:: TrailingDataRule()