]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist docs: TCPRule argument is not optional 9445/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 4 Sep 2020 09:31:59 +0000 (11:31 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 4 Sep 2020 09:31:59 +0000 (11:31 +0200)
pdns/dnsdistdist/docs/rules-actions.rst

index b13df7968f5ca779f777f2483446eda7cc458ae2..f1b32adde22ed0f4717c71c429c4c356a19b0c97 100644 (file)
@@ -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()