]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
man: ip-address: document 15-char limit for LABEL
authorLuca Boccassi <bluca@debian.org>
Sat, 30 Dec 2017 10:31:16 +0000 (11:31 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 30 Dec 2017 17:43:47 +0000 (09:43 -0800)
Trying to set a label longer than 15 characters returns an error:
 RTNETLINK answers: Numerical result out of range

Document the limit in the manpage.

Originally reported as a Debian bug:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661886

Reported-by: Gabor Kiss <kissg@ssg.ki.iif.hu>
Signed-off-by: Luca Boccassi <bluca@debian.org>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
man/man8/ip-address.8.in

index eaa179c6de9133383eca89152bad6ed094cb7d5d..7ebf0bc98dcd77b46b3037cb70117ed7707de362 100644 (file)
@@ -190,6 +190,7 @@ Each address may be tagged with a label string.
 In order to preserve compatibility with Linux-2.0 net aliases,
 this string must coincide with the name of the device or must be prefixed
 with the device name followed by colon.
+The maximum allowed total length of label is 15 characters.
 
 .TP
 .BI scope " SCOPE_VALUE"