Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2015 15:58:23 -0700
From:      Yuri <yuri@rawbw.com>
To:        Miroslav Lachman <000.fbsd@quip.cz>, net@freebsd.org
Subject:   Re: tap(4): will it be more reasonable if it preserved UP/DOWN state,  when closed?
Message-ID:  <551C780F.4050202@rawbw.com>
In-Reply-To: <551BC4D5.9010006@quip.cz>
References:  <551B3021.4050206@rawbw.com> <551BC4D5.9010006@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/01/2015 03:13, Miroslav Lachman wrote:
>
> Doesn't sysctl net.link.tap.up_on_open=1 fix your problem? 

net.link.tap.up_on_open only works on open.

I am going to create the corresponding net.link.tap.down_on_close.
It will have 3 values:
0: up/down state will not change on close
1: (default) state will be preserved as it was before close - makes 
sense for most users I believe
2: state will change to down (like tap works now)

Yuri



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