diff options
author | Joel Knight <joel@cvs.openbsd.org> | 2006-11-09 03:59:55 +0000 |
---|---|---|
committer | Joel Knight <joel@cvs.openbsd.org> | 2006-11-09 03:59:55 +0000 |
commit | 45acb02d142c6b45d34f773b423dcaff4c45dc58 (patch) | |
tree | 4f76096a4c9c78cb7c8fcde3435785eea95b441c /usr.sbin/ospfd/printconf.c | |
parent | daaa44e057ca529f6af002c621ca15e42b43b2f9 (diff) |
Properly indicate the state of "fib-update"
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/printconf.c')
-rw-r--r-- | usr.sbin/ospfd/printconf.c | 8 |
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"); |