Subject: Re: bin/33923: slattach(8) can't attach sl(4) interface
To: None <gnats-bugs@NetBSD.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 07/08/2006 11:49:48
On Jul 8, 10:35am, cube@cubidou.net (Quentin Garnier) wrote:
-- Subject: Re: bin/33923: slattach(8) can't attach sl(4) interface
| sl(4) does have SLIOCGUNIT, so slattach has a way to tell which sl(4)
| device it was bound to. Having the interface automatically created is
| just a matter of having slopen() do it, just like pppopen() calls
| pppalloc().
|
Yes, most of the code can be stolen from ppp. It would be nice if it was
shared too (since we'll have 3 copies if we fix strip). Why don't you
take a stab at it?
christos