diff options
author | glebius <glebius@FreeBSD.org> | 2014-04-09 11:15:50 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-04-09 11:15:50 +0000 |
commit | a25c39725c84ba2fa1b634932a49f04424be9a9d (patch) | |
tree | e406a63fc682e1f5f0749775ea0df5528b04c560 /usr.bin | |
parent | ecc4e56cfaad4f3823fe6215d844db777085a510 (diff) | |
download | FreeBSD-src-a25c39725c84ba2fa1b634932a49f04424be9a9d.zip FreeBSD-src-a25c39725c84ba2fa1b634932a49f04424be9a9d.tar.gz |
Merge r263203: garbage collect long time obsoleted (or never used) stuff
from routing API.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/netstat.1 | 11 | ||||
-rw-r--r-- | usr.bin/netstat/route.c | 7 |
2 files changed, 0 insertions, 18 deletions
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1 index cd2dded..d4f12af 100644 --- a/usr.bin/netstat/netstat.1 +++ b/usr.bin/netstat/netstat.1 @@ -243,14 +243,6 @@ If is also present, show the contents of the internal Patricia tree structures; used for debugging. -If -.Fl a -is also present, -show protocol-cloned routes -(routes generated by an -.Dv RTF_PRCLONING -parent route); -normally these routes are not shown. When .Fl W is also present, @@ -430,8 +422,6 @@ The mapping between letters and flags is: .It Li 3 Ta Dv RTF_PROTO3 Ta "Protocol specific routing flag #3" .It Li B Ta Dv RTF_BLACKHOLE Ta "Just discard pkts (during updates)" .It Li b Ta Dv RTF_BROADCAST Ta "The route represents a broadcast address" -.It Li C Ta Dv RTF_CLONING Ta "Generate new routes on use" -.It Li c Ta Dv RTF_PRCLONING Ta "Protocol-specified generate new routes on use" .It Li D Ta Dv RTF_DYNAMIC Ta "Created dynamically (by redirect)" .It Li G Ta Dv RTF_GATEWAY Ta "Destination requires forwarding by intermediary" .It Li H Ta Dv RTF_HOST Ta "Host entry (net otherwise)" @@ -440,7 +430,6 @@ The mapping between letters and flags is: .It Li R Ta Dv RTF_REJECT Ta "Host or net unreachable" .It Li S Ta Dv RTF_STATIC Ta "Manually added" .It Li U Ta Dv RTF_UP Ta "Route usable" -.It Li W Ta Dv RTF_WASCLONED Ta "Route was generated as a result of cloning" .It Li X Ta Dv RTF_XRESOLVE Ta "External daemon translates proto to link address" .El .Pp diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c index 88fe07d..26581b4 100644 --- a/usr.bin/netstat/route.c +++ b/usr.bin/netstat/route.c @@ -92,19 +92,12 @@ struct bits { { RTF_STATIC, 'S' }, { RTF_PROTO1, '1' }, { RTF_PROTO2, '2' }, - { RTF_PRCLONING,'c' }, { RTF_PROTO3, '3' }, { RTF_BLACKHOLE,'B' }, { RTF_BROADCAST,'b' }, #ifdef RTF_LLINFO { RTF_LLINFO, 'L' }, #endif -#ifdef RTF_WASCLONED - { RTF_WASCLONED,'W' }, -#endif -#ifdef RTF_CLONING - { RTF_CLONING, 'C' }, -#endif { 0 , 0 } }; |