diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-05 17:39:34 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-05 17:39:34 -0700 |
| commit | b365559d0b92cbd2193d72365d32baa62c62a98e (patch) | |
| tree | 63b74d37d0d8abcd41ad9a0f15a89e5fca5fed4f /hotline/server_blackbox_test.go | |
| parent | c4208f864659a6d5b5d9a2a7e0fe069565033f6b (diff) | |
Fix handshake test
Diffstat (limited to 'hotline/server_blackbox_test.go')
| -rw-r--r-- | hotline/server_blackbox_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |