interface: fix show_or_clear_hw_interfaces