From e8deeb539f8afc01f4936aa0d7eb1a29c4469da8 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 14 Jan 2024 18:04:21 +0100 Subject: Same for frontend view --- src/ui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -> 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() { -- cgit v1.2.3