|
|
@ -31,7 +31,7 @@ pub struct Args { |
|
|
/// This setting is passed to the tun2 crate.
|
|
|
/// This setting is passed to the tun2 crate.
|
|
|
/// See [tun2::Configuration::close_fd_on_drop].
|
|
|
/// See [tun2::Configuration::close_fd_on_drop].
|
|
|
#[cfg(unix)] |
|
|
#[cfg(unix)] |
|
|
#[arg(long, conflicts_with = "tun")] |
|
|
#[arg(long, value_name = "true or false", conflicts_with = "tun")] |
|
|
pub close_fd_on_drop: Option<bool>, |
|
|
pub close_fd_on_drop: Option<bool>, |
|
|
|
|
|
|
|
|
/// Create a tun interface in a newly created unprivileged namespace
|
|
|
/// Create a tun interface in a newly created unprivileged namespace
|
|
|
|