Skip to content

Commit

Permalink
Merge pull request #129 from hannesm/add-prefix-to-type
Browse files Browse the repository at this point in the history
add type constraint for prefix (since mirage-tcpip 8.1.0)
  • Loading branch information
reynir authored Dec 9, 2024
2 parents 15f3f9a + 1d35e91 commit 9967d56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charrua-client.opam
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ depends: [
"fmt"
"ethernet" {>= "3.0.0"}
"arp" {>= "3.0.0"}
"tcpip" {>= "7.0.0"}
"tcpip" {>= "8.1.0"}
"lwt" {>= "4.0.0"}
]
build: [
Expand Down
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 9967d56

Please sign in to comment.