diff options
author | glebius <glebius@FreeBSD.org> | 2014-03-15 06:49:32 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-03-15 06:49:32 +0000 |
commit | 8293a6c1cc71ff884e6fb58936226f3c0bd21488 (patch) | |
tree | f0654361bf193ca78ae36513018fc48eb7191354 /usr.bin/netstat | |
parent | 26805845a96cf60ea59d92d96cf752d7a38152f1 (diff) | |
download | FreeBSD-src-8293a6c1cc71ff884e6fb58936226f3c0bd21488.zip FreeBSD-src-8293a6c1cc71ff884e6fb58936226f3c0bd21488.tar.gz |
Garbage collect long time obsoleted (or never used) stuff from routing API.
Diffstat (limited to 'usr.bin/netstat')
-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 6f8a03d..67095d6 100644 --- a/usr.bin/netstat/netstat.1 +++ b/usr.bin/netstat/netstat.1 @@ -244,14 +244,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, @@ -431,8 +423,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)" @@ -441,7 +431,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 78ffdcd..3f09459 100644 --- a/usr.bin/netstat/route.c +++ b/usr.bin/netstat/route.c @@ -90,19 +90,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 } }; |