From c297aa7d035980ed986729a65e4cc7ebed02ea38 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Wed, 27 May 2020 18:13:18 -0400 Subject: [PATCH] Fix macro for detecting UI frames --- include/patty/ax25/macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/patty/ax25/macros.h b/include/patty/ax25/macros.h index 6243032..cb5a42a 100644 --- a/include/patty/ax25/macros.h +++ b/include/patty/ax25/macros.h @@ -62,7 +62,7 @@ (((c & 0xe0) == 0x40) && ((c & 0x0f) == 0x07)) #define PATTY_AX25_CONTROL_UNNUMBERED_INFO(c) \ - (((c & 0xe0) == 0x00) && ((c & 0x0f) == 0x02)) + (((c & 0xe0) == 0x00) && (c & 0x03)) #define PATTY_AX25_CONTROL_SEQ_SEND(c) \ ((c & 0x0e) >> 1)