From 6dbda2795a07e01e75648659713b7d5ab8fd51b9 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Wed, 17 Jun 2020 22:40:09 +0100 Subject: [PATCH] Miscalculated the address length. --- AX25Demodulator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AX25Demodulator.cpp b/AX25Demodulator.cpp index 89eff0a..14f1415 100644 --- a/AX25Demodulator.cpp +++ b/AX25Demodulator.cpp @@ -209,7 +209,7 @@ bool CAX25Demodulator::HDLC(bool b) switch (m_hdlcBuffer) { case 0x7E: - if (m_frame.m_length >= 15U) { + if (m_frame.m_length >= 17U) { result = m_frame.checkCRC(); if (!result) m_frame.m_length = 0U;