diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-06-19 13:59:23 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-06-19 13:59:23 +0000 |
commit | 2aec6559b5225c9f990b383257f7b358e22a934d (patch) | |
tree | 56c6d7aac57ede80e848ab7a0e784c87df2b4d6b | |
parent | cbf9be7506e8de150125bb7a83d90f5fad5b225a (diff) |
There is no reason to print the RTF_DONE bit in the routing table output.
It is now set on all routes (and before it was never set).
OK tb@ anton@
-rw-r--r-- | sbin/route/show.c | 3 | ||||
-rw-r--r-- | usr.bin/netstat/netstat.1 | 5 | ||||
-rw-r--r-- | usr.bin/netstat/show.c | 3 |
3 files changed, 4 insertions, 7 deletions
diff --git a/sbin/route/show.c b/sbin/route/show.c index bcb67dae748..aac7844c7be 100644 --- a/sbin/route/show.c +++ b/sbin/route/show.c @@ -1,4 +1,4 @@ -/* $OpenBSD: show.c,v 1.119 2021/01/30 22:00:06 danj Exp $ */ +/* $OpenBSD: show.c,v 1.120 2022/06/19 13:59:22 claudio Exp $ */ /* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */ /* @@ -77,7 +77,6 @@ static const struct bits bits[] = { { RTF_REJECT, 'R' }, { RTF_DYNAMIC, 'D' }, { RTF_MODIFIED, 'M' }, - { RTF_DONE, 'd' }, /* Completed -- for routing messages only */ { RTF_CLONING, 'C' }, { RTF_MULTICAST,'m' }, { RTF_LLINFO, 'L' }, diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1 index ca58b404282..6d2d2a66561 100644 --- a/usr.bin/netstat/netstat.1 +++ b/usr.bin/netstat/netstat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: netstat.1,v 1.93 2022/03/31 17:27:26 naddy Exp $ +.\" $OpenBSD: netstat.1,v 1.94 2022/06/19 13:59:22 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: March 31 2022 $ +.Dd $Mdocdate: June 19 2022 $ .Dt NETSTAT 1 .Os .Sh NAME @@ -357,7 +357,6 @@ The mapping between letters and flags is: .It C Ta Dv RTF_CLONING Ta "Generate new routes on use." .It c Ta Dv RTF_CLONED Ta "Cloned routes (generated from RTF_CLONING)." .It D Ta Dv RTF_DYNAMIC Ta "Created dynamically (by redirect)." -.It d Ta Dv RTF_DONE Ta "Completed (for routing messages only)." .It G Ta Dv RTF_GATEWAY Ta "Destination requires forwarding by intermediary." .It H Ta Dv RTF_HOST Ta "Host entry (net otherwise)." .It h Ta Dv RTF_CACHED Ta "Referenced by gateway route." diff --git a/usr.bin/netstat/show.c b/usr.bin/netstat/show.c index 968428d29a3..a9745569eac 100644 --- a/usr.bin/netstat/show.c +++ b/usr.bin/netstat/show.c @@ -1,4 +1,4 @@ -/* $OpenBSD: show.c,v 1.58 2021/01/24 08:58:50 florian Exp $ */ +/* $OpenBSD: show.c,v 1.59 2022/06/19 13:59:22 claudio Exp $ */ /* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */ /* @@ -76,7 +76,6 @@ static const struct bits bits[] = { { RTF_REJECT, 'R' }, { RTF_DYNAMIC, 'D' }, { RTF_MODIFIED, 'M' }, - { RTF_DONE, 'd' }, /* Completed -- for routing messages only */ { RTF_CLONING, 'C' }, { RTF_MULTICAST,'m' }, { RTF_LLINFO, 'L' }, |