From bfaad07bab58207d802ea1d94539a29ff6c97fce Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 18 Apr 2025 18:04:45 -0400 Subject: acceptConnection() --- handshake/send.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'handshake/send.go') diff --git a/handshake/send.go b/handshake/send.go index 444db70..95c8f48 100644 --- a/handshake/send.go +++ b/handshake/send.go @@ -31,7 +31,7 @@ func loadKeys() (key.BoxPublicKey, key.SigPublicKey, error) { } func sendKeys(rhost string, boxPubKey key.BoxPublicKey, sigPubKey key.SigPublicKey) error { - raddr := net.JoinHostPort(rhost, port) + raddr := net.JoinHostPort(rhost, fmt.Sprintf("%d", port)) util.Logf("connecting to %s...", raddr) conn, err := dialWithTimeout(network, raddr, timeout) if err != nil { -- cgit v1.2.3