Fix zone type in config.ml
This commit is contained in:
parent
e8b7c08b27
commit
429379ccf3
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue