From: roopa <roopa@cumulusnetworks•com>
To: "Rose, Gregory V" <gregory.v.rose@intel•com>
Cc: "stephen.hemminger@vyatta•com" <stephen.hemminger@vyatta•com>,
"netdev@vger•kernel.org" <netdev@vger•kernel.org>,
"vadim4j@gmail•com" <vadim4j@gmail•com>,
"Brandeburg, Jesse" <jesse.brandeburg@intel•com>
Subject: Re: ip addr add command generates error
Date: Mon, 23 Mar 2015 17:13:14 -0700 [thread overview]
Message-ID: <5510AC1A.7050507@cumulusnetworks.com> (raw)
In-Reply-To: <C5551D9AAB213A418B7FD5E4A6F30A0789291C3A@ORSMSX108.amr.corp.intel.com>
On 3/23/15, 3:43 PM, Rose, Gregory V wrote:
> The 'ip addr add' command used to use the following syntax:
>
> # ip addr add 10.0.0.2/24 brd 10.0.0.255 dev <eth>
>
> However, attempts to use that same command syntax with the current iproute2 tip gives the following error:
>
> Error: an inet prefix is expected rather than "20.0.0.2/24"
>
> This seems like a bug. The commit that introduces the issue is f3a2ddc124e09d3990b836e322ed39c76c35546e by Vadim Kochan. Reverting this commit fixes the problem.
>
> Is this change deliberate? It would break a lot of scripts if so.
>
looked like an unintended change. This was reported a few days back and
I hit this too in another context and a patch
https://patchwork.ozlabs.org/patch/451210/ is in the queue.
next prev parent reply other threads:[~2015-03-24 0:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-23 22:43 ip addr add command generates error Rose, Gregory V
2015-03-24 0:13 ` roopa [this message]
2015-03-24 0:33 ` Rose, Gregory V
2015-03-24 8:09 ` Vadim Kochan
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=5510AC1A.7050507@cumulusnetworks.com \
--to=roopa@cumulusnetworks$(echo .)com \
--cc=gregory.v.rose@intel$(echo .)com \
--cc=jesse.brandeburg@intel$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=stephen.hemminger@vyatta$(echo .)com \
--cc=vadim4j@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox