Function radius_rust::tools::ipv4_string_to_bytes[][src]

pub fn ipv4_string_to_bytes(ipv4: &str) -> Result<Vec<u8>, RadiusError>
Expand description

Converts IPv4 Address string into vector of bytes

Should be used for any Attribute of type ipaddr to ensure value is encoded correctly