aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-01-14 18:04:21 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-01-14 18:04:21 +0100
commite8deeb539f8afc01f4936aa0d7eb1a29c4469da8 (patch)
treedc15f18de54090bd991cc8f30c4f83b6e11cb3ae
parentf43d92a9827967b86f73f811df262fc53b75c396 (diff)
downloadcats-radio-node-e8deeb539f8afc01f4936aa0d7eb1a29c4469da8.tar.gz
cats-radio-node-e8deeb539f8afc01f4936aa0d7eb1a29c4469da8.tar.bz2
cats-radio-node-e8deeb539f8afc01f4936aa0d7eb1a29c4469da8.zip
Same for frontend view
-rw-r--r--src/ui.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.rs b/src/ui.rs
index 31d5f84..f17d1a8 100644
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -75,7 +75,7 @@ async fn dashboard(State(state): State<SharedState>) -> DashboardTemplate<'stati
}.iter()
.filter_map(|db_packet| {
let mut buf = [0; MAX_PACKET_LEN];
- match ham_cats::packet::Packet::fully_decode(&db_packet.content[2..], &mut buf) {
+ match ham_cats::packet::Packet::fully_decode(&db_packet.content, &mut buf) {
Ok(p) => {
if let Some(ident) = p.identification() {