Skip to content

Commit

Permalink
Remove wrong cfg()
Browse files Browse the repository at this point in the history
  • Loading branch information
moubctez committed Jan 13, 2025
1 parent b71d35e commit 3358fd3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src-tauri/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ pub fn get_interface_name(_name: &str) -> String {
let base_ifname = "wg";
if let Ok(interfaces) = nix::net::if_::if_nameindex() {
for index in 0..=u16::MAX {
#[cfg(target_os = "macos")]
let ifname = format!("{base_ifname}{index}");
if !interfaces
.iter()
Expand Down

0 comments on commit 3358fd3

Please sign in to comment.