Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/net



On Mon, Aug 17, 2009 at 08:42:37PM +0200, Alan Barrett wrote:
> On Sun, 16 Aug 2009, David Young wrote:
> > > > net.interfaces.3.name=xvif0.0
> > > > net.interfaces.3.sndq.maxlen=...
> > > 
> > > sure, that would work.
> > 
> > Except for the fact that a sysctl node name cannot begin with a digit.
> 
> What's stopping us from removing that restriction?

That's a good question.  I don't know.  I had hoped that if I passed
NULL for the string name, namep, then sysctl_createv(9) would derive a
name from the integer name.  It does not work that way, yet.

I do think that if a node's string name is all digits, that it should
equal the string representation of the integer name.

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933


Home | Main Index | Thread Index | Old Index