浏览代码

fix noop connection header

Darien Raymond 8 年之前
父节点
当前提交
9a0ddb78ff
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/conf/transport_authenticators.go

+ 1 - 1
tools/conf/transport_authenticators.go

@@ -19,7 +19,7 @@ func (NoOpAuthenticator) Build() (*serial.TypedMessage, error) {
 type NoOpConnectionAuthenticator struct{}
 type NoOpConnectionAuthenticator struct{}
 
 
 func (NoOpConnectionAuthenticator) Build() (*serial.TypedMessage, error) {
 func (NoOpConnectionAuthenticator) Build() (*serial.TypedMessage, error) {
-	return serial.ToTypedMessage(new(noop.Config)), nil
+	return serial.ToTypedMessage(new(noop.ConnectionConfig)), nil
 }
 }
 
 
 type SRTPAuthenticator struct{}
 type SRTPAuthenticator struct{}