|
|
049c96 |
From f50767955c0f8e45fc13b5756bed7bb5bce12bca Mon Sep 17 00:00:00 2001
|
|
|
049c96 |
From: Phil Sutter <psutter@redhat.com>
|
|
|
049c96 |
Date: Mon, 7 Mar 2016 20:41:49 +0100
|
|
|
049c96 |
Subject: [PATCH] man: ip-rule.8: Review synopsis section
|
|
|
049c96 |
|
|
|
049c96 |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1251186
|
|
|
049c96 |
Upstream Status: iproute2.git commit 582b0fc6cb443
|
|
|
049c96 |
Conflicts: Adjusted to missing save/restore feature and suppressor flag.
|
|
|
049c96 |
|
|
|
049c96 |
commit 582b0fc6cb443ebe71b82654aa6307d55cd1fc1a
|
|
|
049c96 |
Author: Phil Sutter <phil@nwl.cc>
|
|
|
049c96 |
Date: Wed Mar 2 19:20:02 2016 +0100
|
|
|
049c96 |
|
|
|
049c96 |
man: ip-rule.8: Review synopsis section
|
|
|
049c96 |
|
|
|
049c96 |
Clarify that 'ip rule' defaults to action 'list', that 'flush' and
|
|
|
049c96 |
'save' actions don't accept additional parameters, add missing 'not' and
|
|
|
049c96 |
'goto' keywords and finally fix fonts used in 'fwmark' and 'realms'
|
|
|
049c96 |
parameters.
|
|
|
049c96 |
|
|
|
049c96 |
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
|
|
049c96 |
---
|
|
|
049c96 |
man/man8/ip-rule.8 | 19 +++++++++++++++----
|
|
|
049c96 |
1 file changed, 15 insertions(+), 4 deletions(-)
|
|
|
049c96 |
|
|
|
049c96 |
diff --git a/man/man8/ip-rule.8 b/man/man8/ip-rule.8
|
|
|
049c96 |
index 16414c5..2594ff3 100644
|
|
|
049c96 |
--- a/man/man8/ip-rule.8
|
|
|
049c96 |
+++ b/man/man8/ip-rule.8
|
|
|
049c96 |
@@ -9,17 +9,26 @@ ip-rule \- routing policy database management
|
|
|
049c96 |
.B ip
|
|
|
049c96 |
.RI "[ " OPTIONS " ]"
|
|
|
049c96 |
.B rule
|
|
|
049c96 |
-.RI " { " COMMAND " | "
|
|
|
049c96 |
+.RI "{ " COMMAND " | "
|
|
|
049c96 |
.BR help " }"
|
|
|
049c96 |
.sp
|
|
|
049c96 |
|
|
|
049c96 |
.ti -8
|
|
|
049c96 |
.B ip rule
|
|
|
049c96 |
-.RB " [ " list " | " add " | " del " | " flush " ]"
|
|
|
049c96 |
+.RB "[ " list " ]"
|
|
|
049c96 |
+
|
|
|
049c96 |
+.ti -8
|
|
|
049c96 |
+.B ip rule
|
|
|
049c96 |
+.RB "{ " add " | " del " }"
|
|
|
049c96 |
.I SELECTOR ACTION
|
|
|
049c96 |
|
|
|
049c96 |
.ti -8
|
|
|
049c96 |
+.B ip rule
|
|
|
049c96 |
+.RB "{ " flush " }"
|
|
|
049c96 |
+
|
|
|
049c96 |
+.ti -8
|
|
|
049c96 |
.IR SELECTOR " := [ "
|
|
|
049c96 |
+.BR not " ] ["
|
|
|
049c96 |
.B from
|
|
|
049c96 |
.IR PREFIX " ] [ "
|
|
|
049c96 |
.B to
|
|
|
049c96 |
@@ -27,7 +36,7 @@ ip-rule \- routing policy database management
|
|
|
049c96 |
.B tos
|
|
|
049c96 |
.IR TOS " ] [ "
|
|
|
049c96 |
.B fwmark
|
|
|
049c96 |
-.IR FWMARK[/MASK] " ] [ "
|
|
|
049c96 |
+.IR FWMARK\fR[\fB/\fIMASK "] ] [ "
|
|
|
049c96 |
.B iif
|
|
|
049c96 |
.IR STRING " ] [ "
|
|
|
049c96 |
.B oif
|
|
|
049c96 |
@@ -42,7 +51,9 @@ ip-rule \- routing policy database management
|
|
|
049c96 |
.B nat
|
|
|
049c96 |
.IR ADDRESS " ] [ "
|
|
|
049c96 |
.B realms
|
|
|
049c96 |
-.RI "[" SRCREALM "/]" DSTREALM " ]"
|
|
|
049c96 |
+.RI "[" SRCREALM "\fB/\fR]" DSTREALM " ] ["
|
|
|
049c96 |
+.B goto
|
|
|
049c96 |
+.IR NUMBER " ]"
|
|
|
049c96 |
|
|
|
049c96 |
.ti -8
|
|
|
049c96 |
.IR TABLE_ID " := [ "
|
|
|
049c96 |
--
|
|
|
049c96 |
1.8.3.1
|
|
|
049c96 |
|