summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd
diff options
context:
space:
mode:
authorJoel Knight <joel@cvs.openbsd.org>2006-11-09 04:06:10 +0000
committerJoel Knight <joel@cvs.openbsd.org>2006-11-09 04:06:10 +0000
commitf51171bb2c91c9614bbbf28076cc0f52c7a9b2d3 (patch)
tree3eea3a96ad367aab2cc456808b5b0f11a362ad2a /usr.sbin/ripd
parent45acb02d142c6b45d34f773b423dcaff4c45dc58 (diff)
Properly indicate status of "fib-update"
Diffstat (limited to 'usr.sbin/ripd')
-rw-r--r--usr.sbin/ripd/printconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ripd/printconf.c b/usr.sbin/ripd/printconf.c
index a87cde902f3..6e8da516f2b 100644
--- a/usr.sbin/ripd/printconf.c
+++ b/usr.sbin/ripd/printconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printconf.c,v 1.1 2006/10/18 16:11:58 norby Exp $ */
+/* $OpenBSD: printconf.c,v 1.2 2006/11/09 04:06:09 joel Exp $ */
/*
* Copyright (c) 2004, 2005, 2006 Esben Norby <norby@openbsd.org>
@@ -34,10 +34,10 @@ void print_iface(struct iface *);
void
print_mainconf(struct ripd_conf *conf)
{
- if (conf->flags |= RIPD_FLAG_NO_FIB_UPDATE)
- printf("fib-update yes\n");
- else
+ if (conf->flags & RIPD_FLAG_NO_FIB_UPDATE)
printf("fib-update no\n");
+ else
+ printf("fib-update yes\n");
if (conf->redistribute_flags & REDISTRIBUTE_STATIC)
printf("redistribute static\n");