Răsfoiți Sursa

mistake in vendor id

Roman Dmitriev 2 ani în urmă
părinte
comite
159a4fa393
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      html/inc/common.php

+ 1 - 1
html/inc/common.php

@@ -2357,7 +2357,7 @@ function get_port_poe_detail($vendor_id, $port, $port_snmp_index, $ip, $communit
     }
 
     // snr
-    if ($vendor_id == 2) {
+    if ($vendor_id == 6) {
         $poe_class = SNR_POE_CLASS . '.' . $port_snmp_index;
         $poe_power = SNR_POE_USAGE . '.' . $port_snmp_index;
         $poe_current = SNR_POE_CURRENT .'.' . $port_snmp_index;