misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-02-20 03:55:06 +01:00
commit 0fc5bb371a

View file

@ -22930,6 +22930,7 @@ var oui = map[string]string{
"784b87": "Murata Manufacturing Co.", "784b87": "Murata Manufacturing Co.",
} }
func OuiLookup(mac string) string { func OuiLookup(mac string) string {
octects := strings.Split(mac, ":") octects := strings.Split(mac, ":")
if len(octects) > 3 { if len(octects) > 3 {