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

This commit is contained in:
evilsocket 2018-04-10 12:13:06 +02:00
parent b5596d54d2
commit 214d2a56da
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
2 changed files with 22926 additions and 22927 deletions

View file

@ -202,8 +202,6 @@ func (pp *PacketProxy) Start() error {
pp.done <- true
})
return nil
}
func (pp *PacketProxy) Stop() error {

View file

@ -4,7 +4,7 @@ import (
"strings"
)
var oui = map[string]string{
var oui = map[string]string {
"681605": "Systems And Electronic Development Fzco",
"74dbd1": "Ebay",
"000099": "MTX",
@ -22931,6 +22931,7 @@ var oui = map[string]string{
"784b87": "Murata Manufacturing Co.",
}
func OuiLookup(mac string) string {
octects := strings.Split(mac, ":")
if len(octects) > 3 {