mirror of
https://github.com/bettercap/bettercap
synced 2025-07-30 03:29:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
b5596d54d2
commit
214d2a56da
2 changed files with 22926 additions and 22927 deletions
|
@ -202,8 +202,6 @@ func (pp *PacketProxy) Start() error {
|
|||
|
||||
pp.done <- true
|
||||
})
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (pp *PacketProxy) Stop() error {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue