summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfctl/ospfctl.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-04-16 21:52:58 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-04-16 21:52:58 +0000
commitab38c9213f5970eafddade392e3a63e7a1a44ef2 (patch)
treefffa5aaaebe25da8b9e8fd4fe6955d83cdae11c3 /usr.sbin/ospfctl/ospfctl.c
parent234751949b1c98f28198c6b8857d8cc1974c6e59 (diff)
Static routes are flagged with F_STATIC and not with F_KERNEL.
Diffstat (limited to 'usr.sbin/ospfctl/ospfctl.c')
-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 518580da9d7..abaead460d5 100644
--- a/usr.sbin/ospfctl/ospfctl.c
+++ b/usr.sbin/ospfctl/ospfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfctl.c,v 1.11 2005/03/29 17:26:35 norby Exp $ */
+/* $OpenBSD: ospfctl.c,v 1.12 2005/04/16 21:52:57 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -809,7 +809,7 @@ show_fib_msg(struct imsg *imsg)
printf("O");
else if (k->flags & F_CONNECTED)
printf("C");
- else if (k->flags & F_KERNEL)
+ else if (k->flags & F_STATIC)
printf("S");
else
printf(" ");