fix: fixing structure alignment for AddUint64 on ARM

This commit is contained in:
evilsocket 2018-02-08 07:17:25 +01:00
parent 3ea7ac60b0
commit 3bedfdb18b

View file

@ -28,18 +28,19 @@ type Traffic struct {
type Queue struct {
sync.Mutex
iface *bnet.Endpoint
handle *pcap.Handle
source *gopacket.PacketSource
active bool
Activities chan Activity `json:"-"`
Sent uint64
Received uint64
PktReceived uint64
Errors uint64
Protos map[string]uint64
Traffic map[string]*Traffic
Activities chan Activity `json:"-"`
Protos map[string]uint64
Traffic map[string]*Traffic
iface *bnet.Endpoint
handle *pcap.Handle
source *gopacket.PacketSource
active bool
}
func NewQueue(iface *bnet.Endpoint) (*Queue, error) {