Subject: Re: ppp(4) made clonable
To: Quentin Garnier <netbsd@quatriemek.com>
From: Martin Husemann <martin@duskware.de>
List: tech-net
Date: 08/13/2003 22:10:00
On Wed, Aug 13, 2003 at 09:54:16PM +0200, Quentin Garnier wrote:
> Couldn't it be removed, maybe
> with a more explicit message if TIOCSETD(pppdisc) returns ENXIO?

Well, the test could use SIOCIFGCLONERS and look for "ppp" in the list.
(See sbin/ifconfig/ifconfig.c::list_cloners)

Martin