diff options
author | remi <remi@cvs.openbsd.org> | 2018-12-28 19:25:11 +0000 |
---|---|---|
committer | remi <remi@cvs.openbsd.org> | 2018-12-28 19:25:11 +0000 |
commit | 98bcec602bf1c4951a77d9457e24ddcc98311aa7 (patch) | |
tree | bd79fb4d4a8961ab80ea04468ace7eed1d9458e0 /usr.sbin/ospfd/printconf.c | |
parent | a34f2fd728b6420d20209f4b90ec3e48e954a80f (diff) |
Add config option fib-priority to set a custom prio for routes ospfd
inserts into the kernel routing table.
OK claudio@
Diffstat (limited to 'usr.sbin/ospfd/printconf.c')
-rw-r--r-- | usr.sbin/ospfd/printconf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/printconf.c b/usr.sbin/ospfd/printconf.c index 576e0acba38..93ed4e68e4b 100644 --- a/usr.sbin/ospfd/printconf.c +++ b/usr.sbin/ospfd/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.19 2018/07/11 15:41:19 remi Exp $ */ +/* $OpenBSD: printconf.c,v 1.20 2018/12/28 19:25:10 remi Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -44,6 +44,8 @@ print_mainconf(struct ospfd_conf *conf) else printf("fib-update yes\n"); + printf("fib-priority %hhu\n", conf->fib_priority); + if (conf->rdomain) printf("rdomain %d\n", conf->rdomain); |