Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 2008 15:43:44 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        FreeBSD-Net mailing list <freebsd-net@freebsd.org>
Subject:   Re: 7.0 - ifconfig create is not working as expected?
Message-ID:  <20080329204344.GA66910@lor.one-eyed-alien.net>
In-Reply-To: <47EE42C8.3070100@quip.cz>
References:  <47EE42C8.3070100@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080329204344.GA66910>