summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2005-04-18 11:09:51 +0000
committerclaudio <claudio@openbsd.org>2005-04-18 11:09:51 +0000
commitb9b5f4f3d25e6a50e108f6ded60a3e1063dfd1f5 (patch)
treee6951801f983c0dbf73208213a1e2b049790ef6c
parentafter setting the clock hard correct the "next" and "deadline" timestamps (diff)
downloadwireguard-openbsd-b9b5f4f3d25e6a50e108f6ded60a3e1063dfd1f5.tar.xz
wireguard-openbsd-b9b5f4f3d25e6a50e108f6ded60a3e1063dfd1f5.zip
Static routes are flagged with F_STATIC and not with F_KERNEL. OK henning@
-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(" ");