dummy set_up function for macos
This commit is contained in:
parent
5c6a705d7f
commit
982cfc39b6
2 changed files with 8 additions and 0 deletions
|
|
@ -247,4 +247,10 @@ impl TunInterface {
|
|||
.try_into()
|
||||
.map_err(|_| Error::new(ErrorKind::Other, "Conversion error"))?
|
||||
}
|
||||
|
||||
#[throws]
|
||||
#[instrument]
|
||||
pub fn set_up(&self, up: bool) {
|
||||
tracing::warn!("Setting tun up is not supported yet on apple.");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue