From b365559d0b92cbd2193d72365d32baa62c62a98e Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Sun, 5 Jun 2022 17:39:34 -0700 Subject: Fix handshake test --- hotline/server_blackbox_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotline/server_blackbox_test.go b/hotline/server_blackbox_test.go index ee5f76b..4e7ea8e 100644 --- a/hotline/server_blackbox_test.go +++ b/hotline/server_blackbox_test.go @@ -103,7 +103,7 @@ func TestHandshake(t *testing.T) { } defer conn.Close() - conn.Write([]byte{0x54, 0x52, 0x54, 0x50, 0x00, 0x01, 0x00, 0x00}) + conn.Write([]byte{0x54, 0x52, 0x54, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02}) replyBuf := make([]byte, 8) _, _ = conn.Read(replyBuf) -- cgit