Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2011 11:52:46 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        hackers@freebsd.org
Subject:   Re: sysctl description spillover and also setting the sysctl ?
Message-ID:  <201111301152.47002.jhb@freebsd.org>
In-Reply-To: <20111125073630.GC7915@DataIX.net>
References:  <20111125073630.GC7915@DataIX.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, November 25, 2011 2:36:30 am Jason Hellenthal wrote:
> 
> Found a troubling result of the following and figured someone might want to 
take a look.
> 
> Pay close attention to the output and behavior.
> 
> sysctl net.inet.udp.blackhole=0
> sysctl net.inet.udp.blackhole
> sysctl -d net.inet.udp.blackhole=1
> sysctl net.inet.udp.blackhole
> 
> 
> Is this expected ? should it not just display the description instead of 
adjusting ? as well not display the description like it is adjusting the 
description too ?

Hah, cute.  It should probably fail with an error if you do something like 
that, yes.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111301152.47002.jhb>