diff --git a/service/xboard/service.go b/service/xboard/service.go index 9b19d19c..05b49970 100644 --- a/service/xboard/service.go +++ b/service/xboard/service.go @@ -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 }