pub fn print_interfaces(interfaces: &[Interface])Expand description
Prints the list of batman-adv interfaces with their current status.
§Arguments
interfaces: Slice ofInterfacestructs, each containing:ifname: Name of the interfaceactive: Boolean indicating whether the interface is active
§Behavior
- Prints each interface in the format:
"iface_name: active"or"iface_name: inactive".