mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update ports.inc.php (#13393)
ifType of draytek router reporting as vdsl2 since firmware upgrade to v3.9.6.2
This commit is contained in:
@@ -321,7 +321,7 @@ if (file_exists($os_file)) {
|
||||
}
|
||||
|
||||
if (Config::get('enable_ports_adsl')) {
|
||||
$device['xdsl_count'] = dbFetchCell("SELECT COUNT(*) FROM `ports` WHERE `device_id` = ? AND `ifType` in ('adsl','vdsl')", [$device['device_id']]);
|
||||
$device['xdsl_count'] = dbFetchCell("SELECT COUNT(*) FROM `ports` WHERE `device_id` = ? AND `ifType` in ('adsl','vdsl','vdsl2')", [$device['device_id']]);
|
||||
}
|
||||
|
||||
if ($device['xdsl_count'] > '0') {
|
||||
|
Reference in New Issue
Block a user