summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--talpid-routing/src/unix/macos/interface.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/talpid-routing/src/unix/macos/interface.rs b/talpid-routing/src/unix/macos/interface.rs
index 8ec4863ab7..5f08fa929f 100644
--- a/talpid-routing/src/unix/macos/interface.rs
+++ b/talpid-routing/src/unix/macos/interface.rs
@@ -43,8 +43,7 @@ pub async fn get_best_default_route(
// Get interface ID
let index = match if_nametoindex(iface_bytes.as_c_str()) {
Ok(index) => index,
- Err(error) => {
- log::error!("Failed to get index of network interface: {error}");
+ Err(_error) => {
continue;
}
};