Browse Source

fix noop connection header

Darien Raymond 8 năm trước cách đây
mục cha
commit
9a0ddb78ff
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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{}
 
 func (NoOpConnectionAuthenticator) Build() (*serial.TypedMessage, error) {
-	return serial.ToTypedMessage(new(noop.Config)), nil
+	return serial.ToTypedMessage(new(noop.ConnectionConfig)), nil
 }
 
 type SRTPAuthenticator struct{}