From owner-freebsd-net@FreeBSD.ORG Sat Mar 29 20:43:42 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B35B1106566B for ; Sat, 29 Mar 2008 20:43:42 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4E1158FC18 for ; Sat, 29 Mar 2008 20:43:42 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.2/8.14.2) with ESMTP id m2TKhj3X066939; Sat, 29 Mar 2008 15:43:45 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.2/8.14.2/Submit) id m2TKhih2066938; Sat, 29 Mar 2008 15:43:44 -0500 (CDT) (envelope-from brooks) Date: Sat, 29 Mar 2008 15:43:44 -0500 From: Brooks Davis To: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <20080329204344.GA66910@lor.one-eyed-alien.net> References: <47EE42C8.3070100@quip.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline In-Reply-To: <47EE42C8.3070100@quip.cz> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Sat, 29 Mar 2008 15:43:45 -0500 (CDT) Cc: FreeBSD-Net mailing list Subject: Re: 7.0 - ifconfig create is not working as expected? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 20:43:42 -0000 --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 29, 2008 at 02:23:20PM +0100, Miroslav Lachman wrote: > Hi, >=20 > I was using following command in FreeBSD 6.2: >=20 > # ifconfig lo1 create inet 172.16.16.2 netmask 255.255.255.0 >=20 > In FreeBSD 7.0 I got an error: >=20 > # ifconfig lo1 create inet 172.16.16.2 netmask 255.255.255.0 > ifconfig: inet: bad value >=20 > But it is working splitted in to two commands: > # ifconfig lo1 create > # ifconfig lo1 inet 172.16.16.2 netmask 255.255.255.0 >=20 > Is this expected behavior or should I file a PR? This expected. There's some argument it's wrong, but filing a PR is unlikely to cause it to change any time soon. -- Brooks --huq684BweRXVnRxX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iD8DBQFH7qn+XY6L6fI4GtQRAqVsAJ9oQcEU4sggO2lDRDPQyeL0x0BIzgCgu3jH PLdwxJqMAJ9xvQnzKLffNgg= =j5/G -----END PGP SIGNATURE----- --huq684BweRXVnRxX--