From 63712a2cac2f527cf039b2deb9562739a76e05e0 Mon Sep 17 00:00:00 2001 From: remi Date: Wed, 11 Jul 2018 15:41:19 +0000 Subject: [PATCH] Print the rdomain config option if present. ok kn@ tb@ deraadt@ sthen@ jca@ --- usr.sbin/ospfd/printconf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.sbin/ospfd/printconf.c b/usr.sbin/ospfd/printconf.c index 5fd501b07f8..576e0acba38 100644 --- a/usr.sbin/ospfd/printconf.c +++ b/usr.sbin/ospfd/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.18 2018/02/05 12:11:28 remi Exp $ */ +/* $OpenBSD: printconf.c,v 1.19 2018/07/11 15:41:19 remi Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby @@ -44,6 +44,9 @@ print_mainconf(struct ospfd_conf *conf) else printf("fib-update yes\n"); + if (conf->rdomain) + printf("rdomain %d\n", conf->rdomain); + if (conf->rfc1583compat) printf("rfc1583compat yes\n"); else -- 2.20.1