From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Boccassi Subject: [PATCH iproute2 3/4] man: ip-address: document 15-char limit for LABEL Date: Fri, 29 Dec 2017 23:01:24 +0100 Message-ID: <20171229220125.13579-3-bluca@debian.org> References: <20171229220125.13579-1-bluca@debian.org> To: netdev@vger.kernel.org Return-path: Received: from mail-wr0-f170.google.com ([209.85.128.170]:41996 "EHLO mail-wr0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751015AbdL2WCY (ORCPT ); Fri, 29 Dec 2017 17:02:24 -0500 Received: by mail-wr0-f170.google.com with SMTP id w107so16742591wrb.9 for ; Fri, 29 Dec 2017 14:02:24 -0800 (PST) Received: from localhost ([80.120.231.178]) by smtp.gmail.com with ESMTPSA id t4sm15934856wmt.9.2017.12.29.14.02.22 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Dec 2017 14:02:22 -0800 (PST) In-Reply-To: <20171229220125.13579-1-bluca@debian.org> Sender: netdev-owner@vger.kernel.org List-ID: 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. .TP .BI scope " SCOPE_VALUE" -- 2.14.2