diff options
author | remi <remi@openbsd.org> | 2018-07-11 15:41:19 +0000 |
---|---|---|
committer | remi <remi@openbsd.org> | 2018-07-11 15:41:19 +0000 |
commit | 63712a2cac2f527cf039b2deb9562739a76e05e0 (patch) | |
tree | 0d32ac6b84fe0c8c92e784ff668f2c19965cc9f7 /usr.sbin/ospfd | |
parent | Use AF_UNSPEC not 0 (diff) | |
download | wireguard-openbsd-63712a2cac2f527cf039b2deb9562739a76e05e0.tar.xz wireguard-openbsd-63712a2cac2f527cf039b2deb9562739a76e05e0.zip |
Print the rdomain config option if present.
ok kn@ tb@ deraadt@ sthen@ jca@
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r-- | usr.sbin/ospfd/printconf.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 <norby@openbsd.org> @@ -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 |