From 45acb02d142c6b45d34f773b423dcaff4c45dc58 Mon Sep 17 00:00:00 2001 From: Joel Knight Date: Thu, 9 Nov 2006 03:59:55 +0000 Subject: Properly indicate the state of "fib-update" ok claudio@ --- usr.sbin/ospfd/printconf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin/ospfd/printconf.c') 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 @@ -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"); -- cgit v1.2.3