mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	fix bug in session api code
This commit is contained in:
		
							parent
							
								
									b8592669b8
								
							
						
					
					
						commit
						fbe44ea973
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -213,7 +213,7 @@ func (c *Core) GetSessions() []Session {
 | 
				
			||||||
		for _, sinfo := range c.sessions.sinfos {
 | 
							for _, sinfo := range c.sessions.sinfos {
 | 
				
			||||||
			var session Session
 | 
								var session Session
 | 
				
			||||||
			workerFunc := func() {
 | 
								workerFunc := func() {
 | 
				
			||||||
				session := Session{
 | 
									session = Session{
 | 
				
			||||||
					Coords:      append([]byte{}, sinfo.coords...),
 | 
										Coords:      append([]byte{}, sinfo.coords...),
 | 
				
			||||||
					MTU:         sinfo.getMTU(),
 | 
										MTU:         sinfo.getMTU(),
 | 
				
			||||||
					BytesSent:   sinfo.bytesSent,
 | 
										BytesSent:   sinfo.bytesSent,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue