From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Boccassi Subject: Re: [PATCH iproute2 3/4] man: ip-address: document 15-char limit for LABEL Date: Sat, 30 Dec 2017 11:32:13 +0100 Message-ID: <1514629933.6638.53.camel@debian.org> References: <20171229220125.13579-1-bluca@debian.org> <20171229220125.13579-3-bluca@debian.org> <20171229200457.2710e99b@xeon-e3> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-2tLmvt0scpeAFVewST5p" Cc: netdev@vger.kernel.org To: Stephen Hemminger Return-path: Received: from mail-wm0-f42.google.com ([74.125.82.42]:39468 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751023AbdL3KcR (ORCPT ); Sat, 30 Dec 2017 05:32:17 -0500 Received: by mail-wm0-f42.google.com with SMTP id i11so51112547wmf.4 for ; Sat, 30 Dec 2017 02:32:16 -0800 (PST) In-Reply-To: <20171229200457.2710e99b@xeon-e3> Sender: netdev-owner@vger.kernel.org List-ID: --=-2tLmvt0scpeAFVewST5p Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2017-12-29 at 20:04 -0800, Stephen Hemminger wrote: > On Fri, 29 Dec 2017 23:01:24 +0100 > Luca Boccassi wrote: >=20 > > Trying to set a label longer than 15 characters returns an error: > > =C2=A0RTNETLINK answers: Numerical result out of range > >=20 > > Document the limit in the manpage. > >=20 > > Originally reported as a Debian bug: > >=20 > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D661886 > >=20 > > Reported-by: Gabor Kiss > > Signed-off-by: Luca Boccassi > > --- > > =C2=A0man/man8/ip-address.8.in | 1 + > > =C2=A01 file changed, 1 insertion(+) > >=20 > > 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. > > =C2=A0In order to preserve compatibility with Linux-2.0 net aliases, > > =C2=A0this string must coincide with the name of the device or must be > > prefixed > > =C2=A0with the device name followed by colon. > > +The maximum allowed length is 15 characters. >=20 > Since these are aliases, lets be precise: > The maximum allowed total length of label is 15 characters. Ok, done in v2, thanks --=20 Kind regards, Luca Boccassi --=-2tLmvt0scpeAFVewST5p Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEE6g0RLAGYhL9yp9G8SylmgFB4UWIFAlpHay0ACgkQSylmgFB4 UWJkcwgAmKMUzjyCYgL3Q12xY7cID7O01eYh/oPTAYo6Zf/H4BjlIldBlQAGsVDT 84mkeMfCeEFH3SjzOjt/+8Zg8wgFLOOvOYTDfm0mkX5d3I5A99kpf5ifCmJbvWpR M4avw1NIBva/tiGQ6dQ5p/hG3SS+Cluogks2b0Cv4lPQQ/snKs5CWWd6yS8aMTMP 3cBLqRiDmFoKb0WxbT4v1xzYIHeOUqdO/Qc7Gm0QrOAuaduUyd3YdTOjPqr6VQaC idNovvDi550q4+P5jPG92sbeXStY4Zu1r+VWApEKljEpDVfJQNa+s3EavCa2ehcb rpd8cWY9DdyDGvkvyQxBvKqY3qRqoA== =xrpf -----END PGP SIGNATURE----- --=-2tLmvt0scpeAFVewST5p--