From ab38c9213f5970eafddade392e3a63e7a1a44ef2 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Sat, 16 Apr 2005 21:52:58 +0000 Subject: Static routes are flagged with F_STATIC and not with F_KERNEL. --- usr.sbin/ospfctl/ospfctl.c | 4 ++-- 1 file 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 @@ -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(" "); -- cgit v1.2.3