mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 11:15:07 +03:00 
			
		
		
		
	Add build name and version to getSelf call on admin socket
This commit is contained in:
		
							parent
							
								
									8e784438c7
								
							
						
					
					
						commit
						3524c6eff6
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -556,6 +556,8 @@ func (a *admin) getData_getSelf() *admin_nodeInfo {
 | 
			
		|||
	table := a.core.switchTable.table.Load().(lookupTable)
 | 
			
		||||
	coords := table.self.getCoords()
 | 
			
		||||
	self := admin_nodeInfo{
 | 
			
		||||
		{"build_name", GetBuildName()},
 | 
			
		||||
		{"build_version", GetBuildVersion()},
 | 
			
		||||
		{"box_pub_key", hex.EncodeToString(a.core.boxPub[:])},
 | 
			
		||||
		{"ip", a.core.GetAddress().String()},
 | 
			
		||||
		{"subnet", a.core.GetSubnet().String()},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue