aboutsummaryrefslogtreecommitdiff
path: root/sbin/route/route.8
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-10-17 19:04:05 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-10-17 19:04:05 +0000
commitde109e29eff8e045cafbc6fcd3a3ff675c095b96 (patch)
tree7b830d70992f55594c7c473b7ec71218b7470f16 /sbin/route/route.8
parentfb93f5c47f1983aeabf4e9ec25df47d64ddda266 (diff)
downloadsrc-de109e29eff8e045cafbc6fcd3a3ff675c095b96.tar.gz
src-de109e29eff8e045cafbc6fcd3a3ff675c095b96.zip
- Add relative specification in expiration time.
- Add proto3 option for RTF_PROTO3. - Use %lu for members of struct rt_metrics.
Notes
Notes: svn path=/head/; revision=256695
Diffstat (limited to 'sbin/route/route.8')
-rw-r--r--sbin/route/route.814
1 files changed, 13 insertions, 1 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index b7861068bacb..ea41cb6c1dae 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 October 17, 2013
.Dt ROUTE 8
.Os
.Sh NAME
@@ -301,6 +301,7 @@ by indicating the following corresponding modifiers:
-blackhole RTF_BLACKHOLE - silently discard pkts (during updates)
-proto1 RTF_PROTO1 - set protocol specific routing flag #1
-proto2 RTF_PROTO2 - set protocol specific routing flag #2
+-proto3 RTF_PROTO3 - set protocol specific routing flag #3
.Ed
.Pp
The optional modifiers
@@ -324,6 +325,17 @@ specify that all ensuing metrics may be locked by the
.Fl lockrest
meta-modifier.
.Pp
+Note that
+.Fl expire
+accepts expiration time of the route as the number of seconds since the
+Epoch
+.Pq see Xr time 3 .
+When the first character of the number is
+.Dq +
+or
+.Dq - ,
+it is interpreted as a value relative to the current time.
+.Pp
The optional modifier
.Fl fib Ar number
specifies that the command will be applied to a non-default FIB.