diff --git a/lib/bgp.ml b/lib/bgp.ml index 69a0c1c..458cc35 100644 --- a/lib/bgp.ml +++ b/lib/bgp.ml @@ -1105,7 +1105,7 @@ let parse_buffer_to_t buf = | None -> Parser_log.err (fun m -> m "This is a marker. Something unexpected occurs in Bgp.parse_buffer_to_t."); assert false - | Some it -> Ok it + | Some it -> Result.Ok it with | Msg_fmt_err err -> Error (Msg_fmt_error err) | Notif_fmt_err err -> Error (Notif_fmt_error err) diff --git a/mrt-format.opam b/mrt-format.opam index 58529e6..7bb30b3 100644 --- a/mrt-format.opam +++ b/mrt-format.opam @@ -16,6 +16,9 @@ build: [ depends: [ "alcotest" {test} "cstruct" {>= "1.0.1"} + "ipaddr" {>= "2.0.0"} + "logs" "ocamlfind" {build} "ppx_cstruct" {build} + "result" ]