From f51171bb2c91c9614bbbf28076cc0f52c7a9b2d3 Mon Sep 17 00:00:00 2001 From: Joel Knight Date: Thu, 9 Nov 2006 04:06:10 +0000 Subject: Properly indicate status of "fib-update" --- usr.sbin/ripd/printconf.c | 8 ++++---- 1 file 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 @@ -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"); -- cgit v1.2.3