Skip to content

Commit

Permalink
Update shaped_devices_writer.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rchac authored Feb 18, 2025
1 parent 29849d7 commit 7b5f7cb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ fn traverse(
mac: device.mac.clone(),
ipv4: device.ipv4_list(),
ipv6: device.ipv6_list(),
download_min: u64::max(0, download_min),
download_min: u64::max(1, download_min),
download_max: u64::max(2, download_max),
upload_min: u64::max(0, upload_min),
upload_min: u64::max(1, upload_min),
upload_max: u64::max(2, upload_max),
comment: "".to_string(),
};
Expand Down Expand Up @@ -145,9 +145,9 @@ fn traverse(
ipv4: device.ipv4_list(),
ipv6: device.ipv6_list(),
download_min: u64::max(1, download_min),
download_max: u64::max(3, download_max),
download_max: u64::max(2, download_max),
upload_min: u64::max(1, upload_min),
upload_max: u64::max(3, upload_max),
upload_max: u64::max(2, upload_max),
comment: "Infrastructure Entry".to_string(),
};
shaped_devices.push(sd);
Expand Down

0 comments on commit 7b5f7cb

Please sign in to comment.