diff mbox

man: ip-route.8: Mention that lower metric means higher priority

Message ID 1498075185-19228-1-git-send-email-koomi@moshbit.net
State Accepted, archived
Delegated to: stephen hemminger
Headers show

Commit Message

Lukas Braun June 21, 2017, 7:59 p.m. UTC
This is quite counter-intuitive when using the 'preference' keyword.

Signed-off-by: Lukas Braun <koomi@moshbit.net>
---
 man/man8/ip-route.8.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Hemminger June 27, 2017, 11:08 p.m. UTC | #1
On Wed, 21 Jun 2017 21:59:45 +0200
Lukas Braun <koomi@moshbit.net> wrote:

> This is quite counter-intuitive when using the 'preference' keyword.
> 
> Signed-off-by: Lukas Braun <koomi@moshbit.net>

I think it goes back to some wording in RFC.
But your addition makes sense. Applied.
diff mbox

Patch

diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in
index c8eb38a..d74e2a8 100644
--- a/man/man8/ip-route.8.in
+++ b/man/man8/ip-route.8.in
@@ -380,7 +380,7 @@  from
 .BI preference " NUMBER"
 the preference value of the route.
 .I NUMBER
-is an arbitrary 32bit number.
+is an arbitrary 32bit number, where routes with lower values are preferred.
 
 .TP
 .BI table " TABLEID"