fix question issue

This commit is contained in:
Mylloon 2023-06-05 21:44:29 +02:00
parent 1e1ee73fbc
commit 6a7042fe6d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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 =