cvs commit: src/etc network.subr

Ralf S. Engelschall rse at engelschall.com
Mon Dec 6 11:16:09 PST 2004


On Mon, Dec 06, 2004, Mike Makonnen wrote:

> On Sun, Dec 05, 2004 at 09:45:37PM +0000, Pawel Jakub Dawidek wrote:
> > pjd         2004-12-05 21:45:37 UTC
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     etc                  network.subr
> >   Log:
> >   'all' argument for list_net_interfaces() is now unused, remove it.
>
> The 'all' argument is in 5-STABLE, and is therefore a public interface now.
> We may not use it at the moment, but not having it in 6.X (when *it* goes
> -stable) will be gratuitously breaking API for any third parties that may
> be using it. Please put it back.

Are you sure? I cannot see where this should be present in 5-STABLE
(RELENG_5)? Pawel added it just recently to CURRENT (HEAD)'s
network.subr in order to support the ifnet_rename() function. 5-STABLE's
network.subr doesn't contain this. I think you are intermixing this
with the fact that if list_net_interfaces() is called _without any_
arguments, it (still) does a similar thing than the removed "all". This
functionality was not touched here. Pawel just removed the explicit
"all" feature which had output a little bit more than the current
no-argument usage.
                                       Ralf S. Engelschall
                                       rse at engelschall.com
                                       www.engelschall.com



More information about the cvs-src mailing list