1
0
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:
deepsource-autofix[bot] 2021-02-01 08:57:11 +00:00 committed by GitHub
parent 91386cc725
commit 6591de4b63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 ""
}