|
|
049c96 |
From b1a374e69efdde93f7c64ccbfb53415a9d344ec4 Mon Sep 17 00:00:00 2001
|
|
|
049c96 |
From: Phil Sutter <psutter@redhat.com>
|
|
|
049c96 |
Date: Fri, 22 Jul 2016 15:15:58 +0200
|
|
|
049c96 |
Subject: [PATCH] iproute2: ip-route.8.in: Add expires option for ip route
|
|
|
049c96 |
|
|
|
049c96 |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1357020
|
|
|
049c96 |
Upstream Status: iproute2.git commit 3fbe7ca847367
|
|
|
049c96 |
Conflicts: Patch adjusted for missing commit 194e9b855d053
|
|
|
049c96 |
("ip: support RFC4191 router preference")
|
|
|
049c96 |
|
|
|
049c96 |
commit 3fbe7ca847367d0f9c3861283767ae702c2a19ab
|
|
|
049c96 |
Author: Hangbin Liu <liuhangbin@gmail.com>
|
|
|
049c96 |
Date: Fri Dec 25 11:12:16 2015 +0800
|
|
|
049c96 |
|
|
|
049c96 |
iproute2: ip-route.8.in: Add expires option for ip route
|
|
|
049c96 |
|
|
|
049c96 |
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
|
|
|
049c96 |
---
|
|
|
049c96 |
man/man8/ip-route.8.in | 10 +++++++++-
|
|
|
049c96 |
1 file changed, 9 insertions(+), 1 deletion(-)
|
|
|
049c96 |
|
|
|
049c96 |
diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in
|
|
|
049c96 |
index ec4a5b2..dcaca2b 100644
|
|
|
049c96 |
--- a/man/man8/ip-route.8.in
|
|
|
049c96 |
+++ b/man/man8/ip-route.8.in
|
|
|
049c96 |
@@ -118,7 +118,9 @@ replace " } "
|
|
|
049c96 |
.B quickack
|
|
|
049c96 |
.IR BOOL " ] [ "
|
|
|
049c96 |
.B congctl
|
|
|
049c96 |
-.IR NAME " ]"
|
|
|
049c96 |
+.IR NAME " ] [ "
|
|
|
049c96 |
+.B expires
|
|
|
049c96 |
+.IR TIME " ]"
|
|
|
049c96 |
|
|
|
049c96 |
.ti -8
|
|
|
049c96 |
.IR TYPE " := [ "
|
|
|
049c96 |
@@ -554,6 +556,12 @@ even if it does not match any interface prefix.
|
|
|
049c96 |
.RE
|
|
|
049c96 |
|
|
|
049c96 |
.TP
|
|
|
049c96 |
+.BI expires " TIME " "(4.4+ only)"
|
|
|
049c96 |
+the route will be deleted after the expires time.
|
|
|
049c96 |
+.B Only
|
|
|
049c96 |
+support IPv6 at present.
|
|
|
049c96 |
+
|
|
|
049c96 |
+.TP
|
|
|
049c96 |
ip route delete
|
|
|
049c96 |
delete route
|
|
|
049c96 |
.RS
|
|
|
049c96 |
--
|
|
|
049c96 |
1.8.3.1
|
|
|
049c96 |
|