From 8d62bdcfeb36d8ee6f12401fff31c5d8ee2c0ced Mon Sep 17 00:00:00 2001 From: Jacobtread Date: Wed, 27 Sep 2023 10:54:34 +1300 Subject: [PATCH] Handle storing up and downstream bps as u32 --- src/session/models/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/session/models/mod.rs b/src/session/models/mod.rs index b4d261a0..6420e40c 100644 --- a/src/session/models/mod.rs +++ b/src/session/models/mod.rs @@ -125,13 +125,13 @@ pub enum InstanceNet { pub struct QosNetworkData { /// Downstream bits per second #[tdf(tag = "DBPS")] - pub dbps: u16, + pub dbps: u32, /// Natt type #[tdf(tag = "NATT")] pub natt: NatType, /// Upstream bits per second #[tdf(tag = "UBPS")] - pub ubps: u16, + pub ubps: u32, } //