TunInterfaceOptions -> TunOptions
This commit is contained in:
parent
f20f56062c
commit
d3882bd008
6 changed files with 13 additions and 13 deletions
|
|
@ -4,7 +4,7 @@ use std::io::Error;
|
|||
use super::TunInterface;
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct TunInterfaceOptions {
|
||||
pub struct TunOptions {
|
||||
/// (Windows + Linux) Name the tun interface.
|
||||
pub(crate) name: Option<String>,
|
||||
/// (Linux) Don't include packet information.
|
||||
|
|
@ -13,7 +13,7 @@ pub struct TunInterfaceOptions {
|
|||
pub(crate) tun_excl: Option<()>,
|
||||
}
|
||||
|
||||
impl TunInterfaceOptions {
|
||||
impl TunOptions {
|
||||
pub fn new() -> Self {
|
||||
Self::default()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue