Skip to content

Commit d44a1a0

Browse files
committed
fix(server.go): use proper format directives
1 parent fc19b54 commit d44a1a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/sshd/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func sshConnection(conn net.Conn) string {
168168
rhost, rport, _ := net.SplitHostPort(remote)
169169
lhost, lport, _ := net.SplitHostPort(local)
170170

171-
return fmt.Sprintf("%s %d %s %d", rhost, rport, lhost, lport)
171+
return fmt.Sprintf("%s %s %s %s", rhost, rport, lhost, lport)
172172
}
173173

174174
func sendExitStatus(status uint32, channel ssh.Channel) error {

0 commit comments

Comments
 (0)