Function interfaceid_string_to_bytes

Source
pub fn interfaceid_string_to_bytes(ifid: &str) -> Result<Vec<u8>, RadiusError>
Expand description

Converts Ifid (Interface Id) string into vector of bytes

Assumes that Interface Id string is in format 0000:0000:0000:0000

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