Merge branch 'main' of github.com:E-Almqvist/wwmap

main
E. Almqvist 2 years ago
commit 08b4d9a6c3
  1. 2
      src/ipv4.rs

@ -82,7 +82,7 @@ impl IPv4Range {
pub fn from_cidr(cidr_string: String, id_ignore: Option<Vec<u32>>) -> Self {
let cidr = Ipv4Cidr::from_str(cidr_string).unwrap();
let (from, to) = (cidr.first(), cidr.last()); // TODO: fix forgotten "constants"
let (from, to) = (cidr.first(), cidr.last());
Self::new(from, to, id_ignore)
}

Loading…
Cancel
Save