mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-06-16 07:46:07 +00:00
fix bug in session api code
This commit is contained in:
@ -213,7 +213,7 @@ func (c *Core) GetSessions() []Session {
|
||||
for _, sinfo := range c.sessions.sinfos {
|
||||
var session Session
|
||||
workerFunc := func() {
|
||||
session := Session{
|
||||
session = Session{
|
||||
Coords: append([]byte{}, sinfo.coords...),
|
||||
MTU: sinfo.getMTU(),
|
||||
BytesSent: sinfo.bytesSent,
|
||||
|
Reference in New Issue
Block a user