mirror of
https://github.com/bettercap/bettercap.git
synced 2025-03-12 04:36:03 -07:00
Remove unnecessary comparison with bool
This commit is contained in:
parent
91386cc725
commit
6591de4b63
@ -35144,7 +35144,7 @@ func ManufLookup(mac string) string {
|
||||
macHex := strings.Replace(mac, ":", "", -1)
|
||||
macInt := new(big.Int)
|
||||
|
||||
if _, ok := macInt.SetString(macHex, 16); ok == false {
|
||||
if _, ok := macInt.SetString(macHex, 16); !ok {
|
||||
return ""
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user