Skip to content
Snippets Groups Projects
Commit 6e17d54c authored by NGUYEN Do Duc Anh's avatar NGUYEN Do Duc Anh
Browse files

change to debug log

parent 2d9576d4
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@ let rec add_custom_option options_cs =
| 0 -> (* End of Option List *)
let custom_opt = create (Int32.of_int 0) 255 0 in
let custom_opt_cs = to_cstruct custom_opt in
Logs.err (fun m -> m "Not found and add first custom");
Logs.debug (fun m -> m "Not found and add first custom");
Cstruct.append custom_opt_cs options_cs
| 1 -> (* No Operation (NOP) *)
(* Move to the next option (1 byte length for NOP) *)
......@@ -107,7 +107,7 @@ let rec add_custom_option options_cs =
let new_custom_option = add_entry custom_option (Int32.of_int 0) 255 0 in
(* Convert new custom option to bytes *)
let new_custom_option_cs = to_cstruct new_custom_option in
Logs.err (fun m -> m "found and add new custom");
Logs.debug (fun m -> m "found and add new custom");
(* Append the new custom option bytes to the rest of option bytes*)
Cstruct.append new_custom_option_cs (Cstruct.shift options_cs option_length)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment