You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @etiedem, coincidentally I just merged #46 which added support for netmasks, but not a parser. The parser does needs a bit of work anyway due to issue #32 but I'm not sure about the value in adding this. In the mean time you could maybe write some code to split these and parse them first into two IpAddrs, then pass them to the new .with_netmask() constructors?
Allow:
let net: Ipv4Net = "10.0.0.0/255.255.255.252".parse().unwrap();
This would allow additional flexibility since unfortunately not everything represents networks using bit notation.
The text was updated successfully, but these errors were encountered: