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

This commit is contained in:
evilsocket 2019-03-21 14:08:16 +01:00
commit 3bbfdbad29
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -38,6 +38,7 @@ type PacketCallback func(pkt gopacket.Packet)
type Queue struct {
sync.RWMutex
// keep on top because of https://github.com/bettercap/bettercap/issues/500
Stats Stats
Protos sync.Map
Traffic sync.Map