顶顶顶顶
This commit is contained in:
@@ -590,6 +590,9 @@ func (s *Service) setupNode() error {
|
||||
if inner.Flow == "" {
|
||||
inner.Flow = config.Flow
|
||||
}
|
||||
if inner.Protocol == "" {
|
||||
inner.Protocol = config.Protocol
|
||||
}
|
||||
if inner.Protocol == "" {
|
||||
inner.Protocol = config.NodeType
|
||||
}
|
||||
@@ -631,6 +634,9 @@ func (s *Service) setupNode() error {
|
||||
|
||||
// Resolve protocol
|
||||
protocol := inner.Protocol
|
||||
if protocol == "" {
|
||||
protocol = config.Protocol
|
||||
}
|
||||
if protocol == "" {
|
||||
protocol = inner.NodeType
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user