mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	update admin socket error message and run gofmt
This commit is contained in:
		
							parent
							
								
									face270298
								
							
						
					
					
						commit
						bf90447cc4
					
				
					 6 changed files with 26 additions and 26 deletions
				
			
		| 
						 | 
				
			
			@ -245,7 +245,7 @@ func (a *admin) listen() {
 | 
			
		|||
		case "tcp":
 | 
			
		||||
			a.listener, err = net.Listen("tcp", u.Host)
 | 
			
		||||
		default:
 | 
			
		||||
			err = errors.New("protocol not supported")
 | 
			
		||||
			err = errors.New(fmt.Sprint("protocol not supported: ", u.Scheme))
 | 
			
		||||
		}
 | 
			
		||||
	} else {
 | 
			
		||||
		a.listener, err = net.Listen("tcp", a.listenaddr)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue