Re: 7.0 - ifconfig create is not working as expected?
- From: Eugene Grosbein <eugen@xxxxxxxxxx>
- Date: Sun, 30 Mar 2008 15:21:37 +0800
On Sat, Mar 29, 2008 at 03:43:44PM -0500, Brooks Davis wrote:
I was using following command in FreeBSD 6.2:This expected. There's some argument it's wrong, but filing a PR is
# 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?
unlikely to cause it to change any time soon.
Why? The same with creating gif-tunnel, now I need to invoke ifconfig
twice, once for 'create' and once for other tunnel parameters,
whereas for RELENG_6 this works: 'ifconfig gif0 create tunnel 1.1.1.1 2.2.2.2'
This breaks existing setups/scripts. This is POLA issue.
Why was it broken?
Eugene Grosbein
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: 7.0 - ifconfig create is not working as expected?
- From: Bruce M. Simpson
- Re: 7.0 - ifconfig create is not working as expected?
- References:
- 7.0 - ifconfig create is not working as expected?
- From: Miroslav Lachman
- Re: 7.0 - ifconfig create is not working as expected?
- From: Brooks Davis
- 7.0 - ifconfig create is not working as expected?
- Prev by Date: Re: 7.0 - ifconfig create is not working as expected?
- Next by Date: Multiple netgraph threads
- Previous by thread: Re: 7.0 - ifconfig create is not working as expected?
- Next by thread: Re: 7.0 - ifconfig create is not working as expected?
- Index(es):
Relevant Pages
|