Macros get sometimes logged so we should not encurage to use them for
sensitive data.
-# $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
area 0.0.0.5 {
interface em0 {
auth-type simple
- auth-key $password
+ auth-key secret
}
interface em1 {