summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfd/printconf.c
diff options
context:
space:
mode:
authorjoel <joel@openbsd.org>2006-11-09 03:59:54 +0000
committerjoel <joel@openbsd.org>2006-11-09 03:59:54 +0000
commit7b65b443a1c2b923c2305f0625404cbc16c2e43f (patch)
tree12d16f8f4a953b94ace61976fe539c8d0dd56459 /usr.sbin/ospfd/printconf.c
parenttypo (diff)
downloadwireguard-openbsd-7b65b443a1c2b923c2305f0625404cbc16c2e43f.tar.xz
wireguard-openbsd-7b65b443a1c2b923c2305f0625404cbc16c2e43f.zip
Properly indicate the state of "fib-update"
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/printconf.c')
-rw-r--r--usr.sbin/ospfd/printconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ospfd/printconf.c b/usr.sbin/ospfd/printconf.c
index 1957b738dd6..4f7d05f9d58 100644
--- a/usr.sbin/ospfd/printconf.c
+++ b/usr.sbin/ospfd/printconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printconf.c,v 1.5 2006/05/31 03:59:51 claudio Exp $ */
+/* $OpenBSD: printconf.c,v 1.6 2006/11/09 03:59:54 joel Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -38,10 +38,10 @@ print_mainconf(struct ospfd_conf *conf)
{
printf("router-id %s\n", inet_ntoa(conf->rtr_id));
- if (conf->flags |= OSPFD_FLAG_NO_FIB_UPDATE)
- printf("fib-update yes\n");
- else
+ if (conf->flags & OSPFD_FLAG_NO_FIB_UPDATE)
printf("fib-update no\n");
+ else
+ printf("fib-update yes\n");
if (conf->rfc1583compat)
printf("rfc1583compat yes\n");