From: remi Date: Wed, 11 Jul 2018 15:41:19 +0000 (+0000) Subject: Print the rdomain config option if present. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=63712a2cac2f527cf039b2deb9562739a76e05e0;p=openbsd Print the rdomain config option if present. ok kn@ tb@ deraadt@ sthen@ jca@ --- 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