7.0 - ifconfig create is not working as expected?
Brooks Davis
brooks at freebsd.org
Sat Mar 29 13:43:42 PDT 2008
On Sat, Mar 29, 2008 at 02:23:20PM +0100, Miroslav Lachman wrote:
> Hi,
>
> I was using following command in FreeBSD 6.2:
>
> # ifconfig lo1 create inet 172.16.16.2 netmask 255.255.255.0
>
> In FreeBSD 7.0 I got an error:
>
> # ifconfig lo1 create inet 172.16.16.2 netmask 255.255.255.0
> ifconfig: inet: bad value
>
> But it is working splitted in to two commands:
> # ifconfig lo1 create
> # ifconfig lo1 inet 172.16.16.2 netmask 255.255.255.0
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20080329/07bc7bd9/attachment.pgp
More information about the freebsd-net
mailing list