All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: netdev@vger.kernel.org
Subject: [PATCH iproute2 v2 3/4] man: ip-address: document 15-char limit for LABEL
Date: Sat, 30 Dec 2017 11:31:16 +0100	[thread overview]
Message-ID: <20171230103117.27544-3-bluca@debian.org> (raw)
In-Reply-To: <20171230103117.27544-1-bluca@debian.org>

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>
---
 man/man8/ip-address.8.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/man/man8/ip-address.8.in b/man/man8/ip-address.8.in
index eaa179c6..7ebf0bc9 100644
--- a/man/man8/ip-address.8.in
+++ b/man/man8/ip-address.8.in
@@ -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"
-- 
2.14.2

  parent reply	other threads:[~2017-12-30 10:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-29 22:01 [PATCH iproute2 1/4] man: drop references to Debian-specific paths Luca Boccassi
2017-12-29 22:01 ` [PATCH iproute2 2/4] man: add more keywords to ip.8 short description Luca Boccassi
2017-12-30  4:02   ` Stephen Hemminger
2017-12-30 10:32     ` Luca Boccassi
2017-12-29 22:01 ` [PATCH iproute2 3/4] man: ip-address: document 15-char limit for LABEL Luca Boccassi
2017-12-30  4:04   ` Stephen Hemminger
2017-12-30 10:32     ` Luca Boccassi
2017-12-29 22:01 ` [PATCH iproute2 4/4] man: routel/routef: don't mention filesystem paths Luca Boccassi
2017-12-30  4:05   ` Stephen Hemminger
2017-12-30 10:31 ` [PATCH iproute2 v2 1/4] man: drop references to Debian-specific paths Luca Boccassi
2017-12-30 10:31   ` [PATCH iproute2 v2 2/4] man: add more keywords to ip.8 short description Luca Boccassi
2017-12-30 10:31   ` Luca Boccassi [this message]
2017-12-30 10:31   ` [PATCH iproute2 v2 4/4] man: routel/routef: don't mention filesystem paths Luca Boccassi
2017-12-30 17:44   ` [PATCH iproute2 v2 1/4] man: drop references to Debian-specific paths Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171230103117.27544-3-bluca@debian.org \
    --to=bluca@debian.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.