diff options
author | Ricardo Mestre <mestre@cvs.openbsd.org> | 2018-08-06 17:25:12 +0000 |
---|---|---|
committer | Ricardo Mestre <mestre@cvs.openbsd.org> | 2018-08-06 17:25:12 +0000 |
commit | 0fa7417cc0e6de459f71769def9b68f11318337d (patch) | |
tree | 6a87d25e9d8965514eacffaad54d056c7010925c /usr.sbin/ldpd/ldpd.conf.5 | |
parent | f151f9d659c981b883cc0021d9f09311f71fd06f (diff) |
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@
Diffstat (limited to 'usr.sbin/ldpd/ldpd.conf.5')
-rw-r--r-- | usr.sbin/ldpd/ldpd.conf.5 | 12 |
1 files 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 <renato@openbsd.org> .\" Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -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 |