]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
iproute: fix documentation for ip rule scan order
authorPhil Sutter <phil@nwl.cc>
Thu, 8 Sep 2016 10:33:03 +0000 (12:33 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 20 Sep 2016 16:36:45 +0000 (09:36 -0700)
Looks like the real issue is missing definition of priority.

man/man8/ip-rule.8

index 3508d8090fd2cb17419e481de461e41cb9ab4b81..13fe9f7f892ee8b4a7b7f0ea71fde52584d62497 100644 (file)
@@ -93,7 +93,7 @@ Each policy routing rule consists of a
 .B selector
 and an
 .B action predicate.
-The RPDB is scanned in order of increasing priority. The selector
+The RPDB is scanned in order of decreasing priority. The selector
 of each rule is applied to {source address, destination address, incoming
 interface, tos, fwmark} and, if the selector matches the packet,
 the action is performed. The action predicate may return with success.
@@ -221,8 +221,10 @@ value to match.
 
 .TP
 .BI priority " PREFERENCE"
-the priority of this rule. Each rule should have an explicitly
-set
+the priority of this rule.
+.I PREFERENCE
+is an unsigned integer value, higher number means lower priority.  Each rule
+should have an explicitly set
 .I unique
 priority value.
 The options preference and order are synonyms with priority.