-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IP: add configured_ips : t -> prefix list #516
Conversation
This PR has been updated, |
This requires the ipaddr package as proposed in ocaml/opam-repository#25919 -- so we'll need to wait for that being merged before the CI in here will succeed. |
Mark get_ips as deprecated, use configured_ips across this package. Also carry the type equality for 'type prefix' across.
tests were failing, there's a discrepancy in ipv6 with having both prefix and address list. I changed the address list to contain Ipaddr.Prefix.t now -- this means both the IP address and the netmask is stored in there. The tests pass. IMHO good to merge. We'll need to do an IPv6 deep dive at some point in any case. |
CHANGES: * adapt to mirage-vnetif 0.6.2 changes (mirage/mirage-tcpip#517 @hannesm) * Add `type prefix = Ipaddr.Prefix.t` and `IP.configured_ips : t -> prefix` to the IP layers (mirage/mirage-tcpip#516 @hannesm) * Mark `get_ips` as deprecated, use `configured_ips` instead (mirage/mirage-tcpip#516 @hannesm)
CHANGES: * adapt to mirage-vnetif 0.6.2 changes (mirage/mirage-tcpip#517 @hannesm) * Add `type prefix = Ipaddr.Prefix.t` and `IP.configured_ips : t -> prefix` to the IP layers (mirage/mirage-tcpip#516 @hannesm) * Mark `get_ips` as deprecated, use `configured_ips` instead (mirage/mirage-tcpip#516 @hannesm)
No description provided.