aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2015-12-25 11:12:16 +0800
committerStephen Hemminger <shemming@brocade.com>2015-12-30 12:35:04 -0800
commit3fbe7ca847367d0f9c3861283767ae702c2a19ab (patch)
treec39996ed854d94a6d6637fa801ffd456634d6491
parent966fe23a7ca85c553bb1a3cc5160f0a6b1409996 (diff)
downloadplatform_external_iproute2-3fbe7ca847367d0f9c3861283767ae702c2a19ab.tar.gz
platform_external_iproute2-3fbe7ca847367d0f9c3861283767ae702c2a19ab.tar.bz2
platform_external_iproute2-3fbe7ca847367d0f9c3861283767ae702c2a19ab.zip
iproute2: ip-route.8.in: Add expires option for ip route
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
-rw-r--r--man/man8/ip-route.8.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in
index 743d62be..c764bfc8 100644
--- a/man/man8/ip-route.8.in
+++ b/man/man8/ip-route.8.in
@@ -132,7 +132,9 @@ replace " } "
.B congctl
.IR NAME " ] [ "
.B pref
-.IR PREF " ]"
+.IR PREF " ] [ "
+.B expires
+.IR TIME " ]"
.ti -8
.IR TYPE " := [ "
@@ -657,6 +659,12 @@ is a set of encapsulation attributes specific to the
.RE
.TP
+.BI expires " TIME " "(4.4+ only)"
+the route will be deleted after the expires time.
+.B Only
+support IPv6 at present.
+
+.TP
ip route delete
delete route
.RS