mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2026-11-03 12:47:03 -06:00
Update uisp_device.rs
This commit is contained in:
1 parent
84a33062f6
commit
ab2b6cd646
1 file changed
+1
-1
@@ -52,7 +52,7 @@ impl UispDevice {
|
||||
if let Some(ul) = overview.uplinkCapacity {
|
||||
upload = ul as u64 / 1000000;
|
||||
}
|
||||
if device.get_model().unwrap_or_default().contains("R5AC") {
|
||||
if device.get_model().unwrap_or_default().contains("5AC") {
|
||||
download = ((download as f64) * config.uisp_integration.airmax_capacity as f64) as u64;
|
||||
upload = ((upload as f64) * config.uisp_integration.airmax_capacity as f64) as u64;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user