shared(wg): remove leftover debug println on macOS

Closes #143
pull/151/head
Jake McGinty 2021-09-12 20:33:41 +09:00
parent 22203e63d0
commit f715689540
2 changed files with 1 additions and 1 deletions

View File

@ -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();

View File

@ -171,7 +171,6 @@ pub fn get_local_addrs() -> Result<Vec<IpAddr>, 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(