summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-01-26 17:28:10 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-01-26 17:28:10 +0000
commitba892d095172c6f93edba4a0a5af1c2f8754d770 (patch)
tree8790a254550627a9ae63ac886905c49a2d44a90f /usr.bin
parent9d3fb7c7ebe1c6290510a3f718262d0adc816303 (diff)
Again use P to mark multipath routes in route output. OK henning@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/netstat.15
-rw-r--r--usr.bin/netstat/show.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1
index 6f1d4ecce62..199e8d6c155 100644
--- a/usr.bin/netstat/netstat.1
+++ b/usr.bin/netstat/netstat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: netstat.1,v 1.53 2008/05/09 09:08:47 jmc Exp $
+.\" $OpenBSD: netstat.1,v 1.54 2009/01/26 17:28:09 claudio Exp $
.\" $NetBSD: netstat.1,v 1.11 1995/10/03 21:42:43 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1990, 1992, 1993
@@ -30,7 +30,7 @@
.\"
.\" from: @(#)netstat.1 8.8 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: May 9 2008 $
+.Dd $Mdocdate: January 26 2009 $
.Dt NETSTAT 1
.Os
.Sh NAME
@@ -336,6 +336,7 @@ G RTF_GATEWAY Destination requires forwarding by intermediary.
H RTF_HOST Host entry (net otherwise).
L RTF_LLINFO Valid protocol to link address translation.
M RTF_MODIFIED Modified dynamically (by redirect).
+P RTF_MPATH Multipath route.
R RTF_REJECT Host or net unreachable.
S RTF_STATIC Manually added.
U RTF_UP Route usable.
diff --git a/usr.bin/netstat/show.c b/usr.bin/netstat/show.c
index 6168adb91b1..36fc25f96a8 100644
--- a/usr.bin/netstat/show.c
+++ b/usr.bin/netstat/show.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: show.c,v 1.17 2009/01/08 12:52:36 michele Exp $ */
+/* $OpenBSD: show.c,v 1.18 2009/01/26 17:28:09 claudio Exp $ */
/* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */
/*
@@ -95,6 +95,7 @@ static const struct bits bits[] = {
{ RTF_PROTO3, '3' },
{ RTF_CLONED, 'c' },
{ RTF_JUMBO, 'J' },
+ { RTF_MPATH, 'P' },
{ 0 }
};