go.crypto/ssh: hide private forwardList methods

This was my mistake. I should have checked godoc before
submitting the previous CL.

R=agl
CC=golang-dev
https://golang.org/cl/6140051
This commit is contained in:
Dave Cheney
2012-05-02 08:27:09 +10:00
parent b4b42222af
commit 9e30a3e1c5
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ func (c *ClientConn) handleChanOpen(msg *channelOpenMsg) {
c.sendConnectionFailed(msg.PeersId)
return
}
l, ok := c.forwardList.Lookup(laddr)
l, ok := c.forwardList.lookup(laddr)
if !ok {
fmt.Println("could not find forward list entry for", laddr)
// Section 7.2, implementations MUST reject suprious incoming