From 9bc5bcb0abf4b41097789c5ce9e1b03d35dd4e9a Mon Sep 17 00:00:00 2001 From: Emeric Brun Date: Wed, 29 Sep 2021 10:29:52 +0200 Subject: [PATCH] DOC: peers: fix doc "enable" statement on "peers" sections Checking in code the right keyword is "enabled" and not "enable". In addition the comment was also completed: This could appear useless because the "defaults" sections not yet apply on "peers" sections, but it could be the case in the future. This statement can currently cancel a previous "disabled" keyword in the same section. This patch should be backported in all supported branches (keyword is present since 1.5) (cherry picked from commit 620761f934fe24f3943ec2ff346d8ecd0e6a6576) Signed-off-by: Christopher Faulet (cherry picked from commit 7214dcfef69909f516f04f509421c4d915624c51) Signed-off-by: Christopher Faulet --- doc/configuration.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 704f713..9f6fde1 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -2683,8 +2683,9 @@ default-server [param*] See also: "server" and section 5 about server options -enable - This re-enables a disabled peers section which was previously disabled. +enabled + This re-enables a peers section which was previously disabled via the + "disabled" keyword. log
[len ] [format ] [sample :] [ []] -- 1.7.10.4