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:
Roy Cruse
2021-10-20 18:54:56 -05:00
committed by GitHub
parent 27c124f19f
commit aa6d685c9e
+1 -1
View File
@@ -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') {