diff options
author | melifaro <melifaro@FreeBSD.org> | 2014-05-08 19:35:12 +0000 |
---|---|---|
committer | melifaro <melifaro@FreeBSD.org> | 2014-05-08 19:35:12 +0000 |
commit | 0576e440912c1dc60e93e505b337ba5ce6f23148 (patch) | |
tree | 24a4db7a7d8960d039590cfdfd373acba8a7db28 /sbin/route/route.8 | |
parent | 89bf7e80ea7ce88fd4bbd25c5f6576c40dea5acd (diff) | |
download | FreeBSD-src-0576e440912c1dc60e93e505b337ba5ce6f23148.zip FreeBSD-src-0576e440912c1dc60e93e505b337ba5ce6f23148.tar.gz |
Merge r260524,r260540
r260524:
Add -4/-6 shorthand for -finet/-finet6 in route(8) and netstat(8).
r260540:
Bump dates in nestat(1) and route(8) man pages.
Fix several small errors introduced by r260524.
Suggested by: glebius
Diffstat (limited to 'sbin/route/route.8')
-rw-r--r-- | sbin/route/route.8 | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8 index b786106..b194c75 100644 --- a/sbin/route/route.8 +++ b/sbin/route/route.8 @@ -28,7 +28,7 @@ .\" @(#)route.8 8.3 (Berkeley) 3/19/94 .\" $FreeBSD$ .\" -.Dd November 17, 2012 +.Dd May 8, 2014 .Dt ROUTE 8 .Os .Sh NAME @@ -62,6 +62,14 @@ programmatic interface discussed in .Pp The following options are available: .Bl -tag -width indent +.It Fl 4 +Specify +.Cm inet +address family as family hint for subcommands. +.It Fl 6 +Specify +.Cm inet +address family as family hint for subcommands. .It Fl d Run in debug-only mode, i.e., do not actually modify the routing table. .It Fl n @@ -142,6 +150,15 @@ or .Fl inet modifiers, only routes having destinations with addresses in the delineated family will be deleted. +Additionally, +.Fl 4 +or +.Fl 6 +can be used as aliases for +.Fl inet +and +.Fl inet6 +modifiers. When a .Fl fib option is specified, the operation will be applied to |