From 674a4d26f3cf59e26ed95e1c09acab3698f669bc Mon Sep 17 00:00:00 2001 From: Christien Rioux Date: Fri, 21 Jul 2023 09:44:14 -0400 Subject: [PATCH] attempt to fix suspend issue --- veilid-core/src/intf/native/network_interfaces/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/veilid-core/src/intf/native/network_interfaces/mod.rs b/veilid-core/src/intf/native/network_interfaces/mod.rs index 3a05cb98..84180b9f 100644 --- a/veilid-core/src/intf/native/network_interfaces/mod.rs +++ b/veilid-core/src/intf/native/network_interfaces/mod.rs @@ -344,9 +344,9 @@ impl NetworkInterfaces { let mut last_interfaces = { let mut last_interfaces = BTreeMap::::new(); let mut platform_support = PlatformSupport::new()?; - platform_support - .get_interfaces(&mut last_interfaces) - .await?; + if let Err(e) = platform_support.get_interfaces(&mut last_interfaces).await { + debug!("no network interfaces are enabled: {}", e); + } last_interfaces };