From 95bc9b9d78feffe3c2a85818251a3e1705d98cbe Mon Sep 17 00:00:00 2001 From: evilsocket Date: Tue, 23 Apr 2019 14:14:23 +0200 Subject: [PATCH] fix: fix an alignment issue for atomic ops on arm --- modules/syn_scan/syn_scan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/syn_scan/syn_scan.go b/modules/syn_scan/syn_scan.go index 532de715..0eaa2dde 100644 --- a/modules/syn_scan/syn_scan.go +++ b/modules/syn_scan/syn_scan.go @@ -19,12 +19,12 @@ import ( const synSourcePort = 666 type synScannerStats struct { - started time.Time numPorts uint64 numAddresses uint64 totProbes uint64 doneProbes uint64 openPorts uint64 + started time.Time } type SynScanner struct {