mirror of
https://github.com/bettercap/bettercap
synced 2025-07-10 23:33:28 -07:00
fix: check if both ethernet and udp layer are succesfully decoded before parsing dns request
This commit is contained in:
parent
b614f195c5
commit
5e728ded2d
2 changed files with 4 additions and 3 deletions
|
@ -83,7 +83,7 @@ func netOuiDat() (*asset, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "net/oui.dat", size: 585353, mode: os.FileMode(420), modTime: time.Unix(1516884015, 0)}
|
||||
info := bindataFileInfo{name: "net/oui.dat", size: 585353, mode: os.FileMode(420), modTime: time.Unix(1515886539, 0)}
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
return a, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue