Merge pull request #4304 from guggero/peer-alignment
peer: fix struct alignment
This commit is contained in:
1 file changed
+2
-2
@@ -114,8 +114,6 @@ type peer struct {
|
|||||||
started int32
|
started int32
|
||||||
disconnect int32
|
disconnect int32
|
||||||
|
|
||||||
cfg *Config
|
|
||||||
|
|
||||||
// The following fields are only meant to be used *atomically*
|
// The following fields are only meant to be used *atomically*
|
||||||
bytesReceived uint64
|
bytesReceived uint64
|
||||||
bytesSent uint64
|
bytesSent uint64
|
||||||
@@ -130,6 +128,8 @@ type peer struct {
|
|||||||
// our last ping message. To be used atomically.
|
// our last ping message. To be used atomically.
|
||||||
pingLastSend int64
|
pingLastSend int64
|
||||||
|
|
||||||
|
cfg *Config
|
||||||
|
|
||||||
connReq *connmgr.ConnReq
|
connReq *connmgr.ConnReq
|
||||||
conn net.Conn
|
conn net.Conn
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user