for example, return all active non virtual interfaces: $interfaces = legacy_config_get_interfaces(array("virtual" => false, "enable" => true)); (cherry picked from commit 2fd3a68d)