From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH iproute2 3/4] man: ip-address: document 15-char limit for LABEL Date: Fri, 29 Dec 2017 20:04:57 -0800 Message-ID: <20171229200457.2710e99b@xeon-e3> References: <20171229220125.13579-1-bluca@debian.org> <20171229220125.13579-3-bluca@debian.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: Luca Boccassi Return-path: Received: from mail-pf0-f169.google.com ([209.85.192.169]:41799 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750794AbdL3EFF (ORCPT ); Fri, 29 Dec 2017 23:05:05 -0500 Received: by mail-pf0-f169.google.com with SMTP id j28so22763862pfk.8 for ; Fri, 29 Dec 2017 20:05:05 -0800 (PST) In-Reply-To: <20171229220125.13579-3-bluca@debian.org> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, 29 Dec 2017 23:01:24 +0100 Luca Boccassi wrote: > 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 > Signed-off-by: Luca Boccassi > --- > 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..e7f14533 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 length is 15 characters. Since these are aliases, lets be precise: The maximum allowed total length of label is 15 characters.