diff --git a/src/client.c b/src/client.c index 0641022d..fbd286c5 100644 --- a/src/client.c +++ b/src/client.c @@ -305,6 +305,8 @@ int trilogy_connect_send_socket(trilogy_conn_t *conn, trilogy_sock_t *sock) return rc; conn->socket = sock; + conn->packet_parser.sequence_number = 0; + return TRILOGY_OK; }