mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
Remove unnecessary comparison with bool
This commit is contained in:
parent
91386cc725
commit
6591de4b63
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue