From f71568954043b48a8c8615b60f35ead65beac7aa Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Sun, 12 Sep 2021 20:33:41 +0900 Subject: [PATCH] shared(wg): remove leftover debug println on macOS Closes #143 --- client/src/data_store.rs | 1 + shared/src/wg.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/data_store.rs b/client/src/data_store.rs index 1736156..28155aa 100644 --- a/client/src/data_store.rs +++ b/client/src/data_store.rs @@ -161,6 +161,7 @@ mod tests { } }]; } + fn setup_basic_store(dir: &Path) { let mut store = DataStore::open_with_path(&dir.join("peer_store.json"), true).unwrap(); diff --git a/shared/src/wg.rs b/shared/src/wg.rs index b04398c..5d4dca4 100644 --- a/shared/src/wg.rs +++ b/shared/src/wg.rs @@ -171,7 +171,6 @@ pub fn get_local_addrs() -> Result, io::Error> { use nix::{net::if_::InterfaceFlags, sys::socket::SockAddr}; let addrs = nix::ifaddrs::getifaddrs()? - .inspect(|addr| println!("{:?}", addr)) .filter(|addr| { addr.flags.contains(InterfaceFlags::IFF_UP) && !addr.flags.intersects(