fix question issue
This commit is contained in:
parent
1e1ee73fbc
commit
6a7042fe6d
1 changed files with 1 additions and 1 deletions
|
@ -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 =
|
||||
|
|
Reference in a new issue