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