Skip to content

Commit

Permalink
Don't show leak warning for ignored Interfaces #38
Browse files Browse the repository at this point in the history
  • Loading branch information
halo committed Aug 31, 2021
1 parent 80f4e0c commit 60e7de5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# 3.0.0

* [FEATURE] Choose among vendors (and custom prefixes) to be used when randomizing MAC addresses #27
* [FEATURE] Do not show leakage icon for ignored interfaces #38
* [FEATURE] Show which MAC address was specified by default
* [UPDATE] Update MAC prefixes of "popular" vendors

Expand Down
2 changes: 2 additions & 0 deletions LinkTools/Interfaces.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ struct Interfaces {

let interface = Interface(BSDName: BSDName as String, displayName: displayName as String, kind: type as String, hardMAC: hardMAC as String, async: false)
if !interface.isSpoofable { continue }
// Ignored Interfaces do not trigger a leakage warning
if Config.instance.knownInterface.action(interface.hardMAC) == .ignore { continue }
if interface.hasOriginalMAC { return true }
}
return false
Expand Down

0 comments on commit 60e7de5

Please sign in to comment.