cidr_to_acl

Function cidr_to_acl 

Source
pub fn cidr_to_acl(cidr: &Cidr) -> String
Expand description

Converts a CIDR block into ACL format:

  • /32 → “host x.x.x.x”
  • otherwise → “network subnet-mask”