summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2005-04-16 21:52:57 +0000
committerclaudio <claudio@openbsd.org>2005-04-16 21:52:57 +0000
commitfc1549e1b49b6199a519872c6cfdef5a48b1ddd4 (patch)
tree53fd3ce0213f543356855cf301a1086db61777a1
parentSet F_STATIC flag earlier else the default route will end up as non-static. (diff)
downloadwireguard-openbsd-fc1549e1b49b6199a519872c6cfdef5a48b1ddd4.tar.xz
wireguard-openbsd-fc1549e1b49b6199a519872c6cfdef5a48b1ddd4.zip
Static routes are flagged with F_STATIC and not with F_KERNEL.
-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(" ");