]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
man: ip-link: Specify min/max values for bridge slave priority and cost
authorPhil Sutter <phil@nwl.cc>
Tue, 4 Apr 2017 15:08:43 +0000 (17:08 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 4 Apr 2017 21:54:44 +0000 (14:54 -0700)
The values are parsed as u16/u32, but kernel limits allowed values.

Signed-off-by: Phil Sutter <phil@nwl.cc>
man/man8/ip-link.8.in

index 15b32bc6665af94775d436d7be53aa87a347898b..a5ddfe7a106e72f96c8413a3589ab5a60243fe49 100644 (file)
@@ -1714,10 +1714,10 @@ is a number representing the following states:
 .BR 4 " (blocking)."
 
 .BI priority " PRIO"
-- set port priority (a 16bit unsigned value).
+- set port priority (allowed values are between 0 and 63, inclusively).
 
 .BI cost " COST"
-- set port cost (a 32bit unsigned value).
+- set port cost (allowed values are between 1 and 65535, inclusively).
 
 .BR guard " { " on " | " off " }"
 - block incoming BPDU packets on this port.