From: claudio Date: Tue, 7 Aug 2018 07:06:20 +0000 (+0000) Subject: Similar to the ldpd.conf change don't use a macro of the secret. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0be15b8af613c6271b433cc4ba4dc61548a678bb;p=openbsd Similar to the ldpd.conf change don't use a macro of the secret. Macros get sometimes logged so we should not encurage to use them for sensitive data. --- diff --git a/etc/examples/ospfd.conf b/etc/examples/ospfd.conf index 70bdfbb2461..4367097da8d 100644 --- a/etc/examples/ospfd.conf +++ b/etc/examples/ospfd.conf @@ -1,16 +1,16 @@ -# $OpenBSD: ospfd.conf,v 1.1 2014/07/11 16:36:35 deraadt Exp $ +# $OpenBSD: ospfd.conf,v 1.2 2018/08/07 07:06:20 claudio Exp $ # macros -password="secret" +id="192.0.2.5" # global configuration -# router-id 10.0.0.1 +# router-id $id # fib-update no # stub router no # spf-delay 1 # spf-holdtime 5 -# auth-key $password +# auth-key secret # auth-type simple # hello-interval 10 # metric 10 @@ -25,7 +25,7 @@ password="secret" area 0.0.0.5 { interface em0 { auth-type simple - auth-key $password + auth-key secret } interface em1 {