From 003f0fde6959b0f759fd1cc27201eb367753443e Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 8 Sep 2016 12:33:03 +0200 Subject: [PATCH] iproute: fix documentation for ip rule scan order Looks like the real issue is missing definition of priority. --- man/man8/ip-rule.8 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/man/man8/ip-rule.8 b/man/man8/ip-rule.8 index 3508d809..13fe9f7f 100644 --- a/man/man8/ip-rule.8 +++ b/man/man8/ip-rule.8 @@ -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.