Subject: Re: SIOCSIFADDR
To: Atsushi Onoe <onoe@sm.sony.co.jp>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: tech-net
Date: 09/04/2002 12:10:03
Atsushi Onoe <onoe@sm.sony.co.jp> writes:
> Why not just fix the comment?
:
>
> I don't think new code is wrong, but the change looks unnecessary for me.
I think the commet matches to the existing (i.e., rev. 1.77, not 1.78)
code.
The in_ifinit calls ifioctl SIOCSIFADDR for every address assigned and
I guess the comment want to say that
- callee will initialize if it finds that the address is the
first one.
- callee will validate the address if necessary.
If a callee really need to validate an address, just doing it only for
the first address doesn't make sense.
enami.