From 997ade8ec23de39938b54f5a04d11adf4dec8a44 Mon Sep 17 00:00:00 2001 From: mestre Date: Mon, 6 Aug 2018 17:25:11 +0000 Subject: [PATCH] Change manpage example for reserved words since the macro used is to replace a password and that way it would log it when the daemon is ran in verbose mode. Hint and OK claudio@ --- usr.sbin/ldpd/ldpd.conf.5 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/usr.sbin/ldpd/ldpd.conf.5 b/usr.sbin/ldpd/ldpd.conf.5 index ed229cc5b61..c9d7706702c 100644 --- a/usr.sbin/ldpd/ldpd.conf.5 +++ b/usr.sbin/ldpd/ldpd.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ldpd.conf.5,v 1.35 2018/06/18 06:04:25 jmc Exp $ +.\" $OpenBSD: ldpd.conf.5,v 1.36 2018/08/06 17:25:11 mestre Exp $ .\" .\" Copyright (c) 2013, 2016 Renato Westphal .\" Copyright (c) 2009 Michele Marchetto @@ -19,7 +19,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 18 2018 $ +.Dd $Mdocdate: August 6 2018 $ .Dt LDPD.CONF 5 .Os .Sh NAME @@ -70,14 +70,14 @@ macros can be defined that will later be expanded in context. Macro names must start with a letter, digit, or underscore, and may contain any of those characters. Macro names may not be reserved words (for example, -.Ic password ) . +.Ic neighbor ) . Macros are not expanded inside quotes. .Pp For example: .Bd -literal -offset indent -secret="openbsd" -neighbor 10.0.1.5 { - password $secret +peer1="10.0.1.5" +neighbor $peer1 { + password "openbsd" } .Ed .Sh GLOBAL CONFIGURATION -- 2.20.1