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 pp.done <- true
}) })
return nil
} }
func (pp *PacketProxy) Stop() error { func (pp *PacketProxy) Stop() error {

View file

@ -22931,6 +22931,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 {