Skip to content

Commit

Permalink
add type constraint for prefix (since mirage-tcpip 8.1.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Nov 27, 2024
1 parent 15f3f9a commit 3807a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/mirage/dhcp_ipv4.mli
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*)

module Make(R : Mirage_crypto_rng_mirage.S) (C : Mirage_clock.MCLOCK) (Time : Mirage_time.S) (Network : Mirage_net.S) (E : Ethernet.S) (Arp : Arp.S) : sig
include Tcpip.Ip.S with type ipaddr = Ipaddr.V4.t
include Tcpip.Ip.S with type ipaddr = Ipaddr.V4.t and type prefix = Ipaddr.V4.Prefix.t
val connect : Network.t -> E.t -> Arp.t -> t Lwt.t
(** Connect to an ipv4 device using information from a DHCP lease. *)
end

0 comments on commit 3807a4b

Please sign in to comment.