On 2. Jun 2012, at 15:53 , Darren Reed wrote:

> Is there any reason that this patch hasn't been applied
> to -current? I've just run into this and I can't believe
> that it still exists, given that it falls into the "low
> hanging fruit" category. I'll note that if it wasn't for
> subversion, I'd be doing a commit rather than an email.

     ifconfig [-L] [-k] [-m] [-n] interface [create] address_family [address
              [dest_address]] [parameters]
...


     The following parameters may be set with ifconfig:
...
     -alias  Remove the network address specified.  This would be used if you
             incorrectly specified an alias, or it was no longer needed.  If
             you have incorrectly set an NS address having the side effect of
             specifying the host portion, removing all NS addresses will allow
             you to respecify the host portion.
...
     delete  Another name for the -alias parameter.


Parameters go last as clearly stated in the beginning of the man page and
that works well:

root@lion3:/home/test # ifconfig lo0 inet6 2001:db8:ffff::ffff/128 alias
root@lion3:/home/test # ifconfig lo0 inet6 2001:db8:ffff::ffff/128 delete
root@lion3:/home/test # 


The fact that for inet you could give it in the beginning and other minor
things leniently allowed have caused a lot of trouble the last years.
We try to stay more strict even if there's no real grammar, even if it
wasn't for SVN.

/bz

-- 
Bjoern A. Zeeb                                 You have to have visions!
   It does not matter how good you are. It matters what good you do!

_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to