diff options
Diffstat (limited to 'usr.sbin/ripd/printconf.c')
-rw-r--r-- | usr.sbin/ripd/printconf.c | 8 |
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"); |