summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-04-18 11:09:52 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-04-18 11:09:52 +0000
commit21ae50b297d3a12271111387cce1ceda4f08247a (patch)
treef8f72e608251089be3c1ed7686197912019b75ad /usr.sbin
parent03a8c3bed966a9d4e14902f8464d35e6d442de82 (diff)
Static routes are flagged with F_STATIC and not with F_KERNEL. OK henning@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpctl/bgpctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c
index 2dc668dae1b..fb1c5c28661 100644
--- a/usr.sbin/bgpctl/bgpctl.c
+++ b/usr.sbin/bgpctl/bgpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpctl.c,v 1.77 2005/04/13 08:35:22 claudio Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.78 2005/04/18 11:09:51 claudio Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -634,7 +634,7 @@ show_fib_msg(struct imsg *imsg)
printf("B");
else if (k->flags & F_CONNECTED)
printf("C");
- else if (k->flags & F_KERNEL)
+ else if (k->flags & F_STATIC)
printf("S");
else
printf(" ");