dummy set_up function for macos

This commit is contained in:
rhaskia 2024-03-10 07:25:33 +13:00 committed by Conrad Kramer
parent 5c6a705d7f
commit 982cfc39b6
2 changed files with 8 additions and 0 deletions

View file

@ -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.");
}
}