Subject: Re: bin/33923: slattach(8) can't attach sl(4) interface
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 07/08/2006 15:50:02
The following reply was made to PR bin/33923; it has been noted by GNATS.

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, tsutsui@ceres.dti.ne.jp
Cc: 
Subject: Re: bin/33923: slattach(8) can't attach sl(4) interface
Date: Sat, 8 Jul 2006 11:49:48 -0400

 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