mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
fix: fixing structure alignment for AddUint64 on ARM
This commit is contained in:
parent
3ea7ac60b0
commit
3bedfdb18b
1 changed files with 9 additions and 8 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue