mirror of https://github.com/v2ray/v2ray-core
				
				
				
			check nil for outbound config
							parent
							
								
									d742cf71cb
								
							
						
					
					
						commit
						57fc444b3c
					
				| 
						 | 
				
			
			@ -339,6 +339,9 @@ func (v *Config) Build() (*core.Config, error) {
 | 
			
		|||
		config.Inbound = append(config.Inbound, ic)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if v.OutboundConfig == nil {
 | 
			
		||||
		return nil, errors.New("Config: No outbound config specified.")
 | 
			
		||||
	}
 | 
			
		||||
	oc, err := v.OutboundConfig.Build()
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue