Function ip_in_subnet

Source
pub fn ip_in_subnet(ip: &str, subnet: &str) -> bool