diff --git a/html/includes/graphs/device/bits.inc.php b/html/includes/graphs/device/bits.inc.php index 279f4ed004..969334134f 100644 --- a/html/includes/graphs/device/bits.inc.php +++ b/html/includes/graphs/device/bits.inc.php @@ -8,6 +8,12 @@ foreach (dbFetchRows('SELECT * FROM `ports` WHERE `device_id` = ? AND `disabled` $ignore = 0; if (is_array($config['device_traffic_iftype'])) { foreach ($config['device_traffic_iftype'] as $iftype) { + if ($iftype == '/l2vlan/' && $device['os']=='asa') { + // ASA (at least in multicontext) reports all interfaces as l2vlan even if they are l3 + // so every context has no graph displayed unless l2vlan are accepted for all. + // This patch will ignore l2vlan for ASA. + continue; + } if (preg_match($iftype.'i', $port['ifType'])) { $ignore = 1; }