From 6a7042fe6dba756951db79965bfd2c12fba34682 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 5 Jun 2023 21:44:29 +0200 Subject: [PATCH] fix question issue --- lib/query.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/query.ml b/lib/query.ml index 2b68785..3af6ee1 100644 --- a/lib/query.ml +++ b/lib/query.ml @@ -17,7 +17,7 @@ let question_to_bytes question = let buffer = new_buffer (2 * (get_obj_size question - 1)) [ question.type_; question.class_ ] in - Bytes.cat buffer question.name + Bytes.cat question.name buffer ;; let encode_dns_name domain_name =