mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Update default AdminListen to URI format
This commit is contained in:
		
							parent
							
								
									047b7d95a1
								
							
						
					
					
						commit
						171e1e7823
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -53,7 +53,7 @@ func generateConfig(isAutoconf bool) *nodeConfig {
 | 
			
		|||
		r1 := rand.New(rand.NewSource(time.Now().UnixNano()))
 | 
			
		||||
		cfg.Listen = fmt.Sprintf("[::]:%d", r1.Intn(65534-32768)+32768)
 | 
			
		||||
	}
 | 
			
		||||
	cfg.AdminListen = "localhost:9001"
 | 
			
		||||
	cfg.AdminListen = "tcp://localhost:9001"
 | 
			
		||||
	cfg.EncryptionPublicKey = hex.EncodeToString(bpub[:])
 | 
			
		||||
	cfg.EncryptionPrivateKey = hex.EncodeToString(bpriv[:])
 | 
			
		||||
	cfg.SigningPublicKey = hex.EncodeToString(spub[:])
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue