mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2026-10-24 13:57:40 -05:00
Fix download capacity accessor (#1151)
This commit is contained in:
1 parent
750560a14d
commit
17dba2c893
1 file changed
+1
-1
@@ -2125,7 +2125,7 @@ fn fast_queues_fq_codel() -> PyResult<f32> {
|
||||
#[pyfunction]
|
||||
fn upstream_bandwidth_capacity_download_mbps() -> PyResult<u32> {
|
||||
let config = lqos_config::load_config().unwrap();
|
||||
Ok(config.queues.uplink_bandwidth_mbps as u32)
|
||||
Ok(config.queues.downlink_bandwidth_mbps as u32)
|
||||
}
|
||||
|
||||
#[pyfunction]
|
||||
|
||||
Reference in new issue
Block a user