diff --git a/src/pkg/exp/ssh/doc.go b/src/pkg/exp/ssh/doc.go index 8dbdb0777c..54a7ba9fda 100644 --- a/src/pkg/exp/ssh/doc.go +++ b/src/pkg/exp/ssh/doc.go @@ -58,7 +58,7 @@ the case of a shell, the type is "session" and ServerShell may be used to present a simple terminal interface. if channel.ChannelType() != "session" { - c.Reject(RejectUnknownChannelType, "unknown channel type") + c.Reject(UnknownChannelType, "unknown channel type") return } channel.Accept()