summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2009-01-26 17:18:47 +0000
committerclaudio <claudio@openbsd.org>2009-01-26 17:18:47 +0000
commit4ff647d276da9effff3c5f63f787e974116076b9 (patch)
tree2f4cf6a49a6e25675afaefd0172219f7584c4eda
parentRemove unneeded brackets that where left over from when these were macros. (diff)
downloadwireguard-openbsd-4ff647d276da9effff3c5f63f787e974116076b9.tar.xz
wireguard-openbsd-4ff647d276da9effff3c5f63f787e974116076b9.zip
Mark multipath routes with P in the show command flags. Bummer that both
M and m were already taken. OK henning@
-rw-r--r--sbin/route/show.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/route/show.c b/sbin/route/show.c
index e120e253694..c46ffbf6a5b 100644
--- a/sbin/route/show.c
+++ b/sbin/route/show.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: show.c,v 1.74 2009/01/08 12:52:36 michele Exp $ */
+/* $OpenBSD: show.c,v 1.75 2009/01/26 17:18:47 claudio Exp $ */
/* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */
/*
@@ -99,6 +99,7 @@ static const struct bits bits[] = {
{ RTF_PROTO3, '3' },
{ RTF_CLONED, 'c' },
{ RTF_JUMBO, 'J' },
+ { RTF_MPATH, 'P' },
{ 0 }
};