From df0d4f2b1059af671e9b72b01ec8e09d37ec30c4 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Fri, 4 Sep 2020 11:31:59 +0200 Subject: [PATCH] dnsdist docs: TCPRule argument is not optional --- pdns/dnsdistdist/docs/rules-actions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.47.2