mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
attempt to fix suspend issue
This commit is contained in:
parent
3224a315c3
commit
674a4d26f3
@ -344,9 +344,9 @@ impl NetworkInterfaces {
|
|||||||
let mut last_interfaces = {
|
let mut last_interfaces = {
|
||||||
let mut last_interfaces = BTreeMap::<String, NetworkInterface>::new();
|
let mut last_interfaces = BTreeMap::<String, NetworkInterface>::new();
|
||||||
let mut platform_support = PlatformSupport::new()?;
|
let mut platform_support = PlatformSupport::new()?;
|
||||||
platform_support
|
if let Err(e) = platform_support.get_interfaces(&mut last_interfaces).await {
|
||||||
.get_interfaces(&mut last_interfaces)
|
debug!("no network interfaces are enabled: {}", e);
|
||||||
.await?;
|
}
|
||||||
last_interfaces
|
last_interfaces
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user