mirror of https://github.com/golang/go.git
exp/ssh: fix constant in package documentation
R=agl CC=golang-dev https://golang.org/cl/5030054
This commit is contained in:
parent
d072a70823
commit
03178bb4ad
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue