diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-03-08 15:02:16 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-03-08 15:02:16 +0000 |
commit | 9a67a81e96a8509ff509ca9a6073382357315034 (patch) | |
tree | 64dfdae283fa22d93cc7f66382e5117dfa6d5d7f | |
parent | 5090057858da2e3859ec1520722fa1e317b0f112 (diff) |
Last kroute.c commit changed the meaning of the flags so check them correctly.
OK norby@
-rw-r--r-- | usr.sbin/ospfctl/ospfctl.c | 4 |
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"); |