From: claudio Date: Sun, 19 Jun 2022 13:59:22 +0000 (+0000) Subject: There is no reason to print the RTF_DONE bit in the routing table output. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cf2939d6e86d9d54c647906bdb8c120f18c811ac;p=openbsd 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@ --- 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' },