Fix zone type in config.ml

develop
jeltz 2 years ago
parent e8b7c08b27
commit 429379ccf3
Signed by: jeltz
GPG Key ID: 800882B66C0C3326

@ -15,10 +15,10 @@ type l4_rule =
| IcmpRule | IcmpRule
type rule = { src : addrs list; dest : addrs list; l4 : l4_rule } type rule = { src : addrs list; dest : addrs list; l4 : l4_rule }
type config = { zones : (string * zone list) list; rules : rule list } type config = { zones : (string * zone) list; rules : rule list }
(* TODO *) (* TODO *)
let zone_of_json _ = [ Zone "xxx" ] let zone_of_json _ = Zone "xxx"
let addrs_of_json json = let addrs_of_json json =
let open Yojson.Basic.Util in let open Yojson.Basic.Util in

Loading…
Cancel
Save