aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.rs')
-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() {