lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 23 Mar 2015 22:43:00 +0000
From:	"Rose, Gregory V" <gregory.v.rose@...el.com>
To:	"stephen.hemminger@...tta.com" <stephen.hemminger@...tta.com>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	"vadim4j@...il.com" <vadim4j@...il.com>,
	"Brandeburg, Jesse" <jesse.brandeburg@...el.com>
Subject: ip addr add command generates error

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.

Thanks,

- Greg

----------
 
Any man who afflicts the human race with ideas must be prepared to see them misunderstood.
 
- H. L. Mencken

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ