tap(4): will it be more reasonable if it preserved UP/DOWN state, when closed?

Yuri yuri at rawbw.com
Wed Apr 1 22:58:25 UTC 2015


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


More information about the freebsd-net mailing list