summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2006-03-08 15:02:15 +0000
committerclaudio <claudio@openbsd.org>2006-03-08 15:02:15 +0000
commit347b501932a4d1cfea79ff7d056bd204c8604d48 (patch)
treee871c9fb60bcc2d1128c8191b602ebba64a55c2b
parentReally unbreak GENERIC.MP. (diff)
downloadwireguard-openbsd-347b501932a4d1cfea79ff7d056bd204c8604d48.tar.xz
wireguard-openbsd-347b501932a4d1cfea79ff7d056bd204c8604d48.zip
Last kroute.c commit changed the meaning of the flags so check them correctly.
OK norby@
-rw-r--r--usr.sbin/ospfctl/ospfctl.c4
1 files changed, 2 insertions, 2 deletions
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 <claudio@openbsd.org>
@@ -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");