From 9a67a81e96a8509ff509ca9a6073382357315034 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Wed, 8 Mar 2006 15:02:16 +0000 Subject: Last kroute.c commit changed the meaning of the flags so check them correctly. OK norby@ --- usr.sbin/ospfctl/ospfctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ospfctl/ospfctl.c') diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c index 5a6f1553a0e..af5c7692096 100644 --- a/usr.sbin/ospfctl/ospfctl.c +++ b/usr.sbin/ospfctl/ospfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfctl.c,v 1.25 2006/02/24 21:06:46 norby Exp $ */ +/* $OpenBSD: ospfctl.c,v 1.26 2006/03/08 15:02:15 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -1111,7 +1111,7 @@ show_fib_msg(struct imsg *imsg) else printf("*"); - if (k->flags & F_OSPFD_INSERTED) + if (!(k->flags & F_KERNEL)) printf("O"); else if (k->flags & F_CONNECTED) printf("C"); -- cgit v1.2.3