Subject: Re: always print IPv4 alias addresses
To: Jun-ichiro itojun Hagino <itojun@iijlab.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-net
Date: 04/27/2001 16:42:44
On Sat, Apr 28, 2001 at 08:03:21AM +0900, Jun-ichiro itojun Hagino wrote:
> currently, IPv4 alias is not printed on the following comand invocation,
> # ifconfig foo
> # ifconfig -a foo
> however, the aliases are there, and will be printed with the following:
> # ifconfig -A foo
> # ifconfig -a -A foo
>
> it is, IMHO, confusing (and i got comments from others, including
> jinmei - cc'ed). is it okay to always print aliases, and say
> good bye to -A? (i.e. -A is the default behavior)
Sounds good to me. The whole notion of "aliases" seems silly to me,
really... they're just addresses on an interface. I think the only
reason we have "alias" is because ifconfig and its ioctls were poorly
designed in the first place :-)
(Should have always been "add-address"/"delete-address".)
--
-- Jason R. Thorpe <thorpej@zembu.com>