From b505f2743cb45103843eaec9d67480a2c77147f7 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Thu, 16 Jul 2020 18:00:04 -0400 Subject: [PATCH] Set default sock frame len to 328 Set default sock frame len to 328 as per AX.25 spec, to handle full header with maximum number of repeaters, 8-bit control field, protocol identifier, and 256 information field bytes --- include/patty/ax25/sock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/patty/ax25/sock.h b/include/patty/ax25/sock.h index cc89a66..28b8c46 100644 --- a/include/patty/ax25/sock.h +++ b/include/patty/ax25/sock.h @@ -1,7 +1,7 @@ #ifndef _PATTY_AX25_SOCK_H #define _PATTY_AX25_SOCK_H -#define PATTY_AX25_SOCK_BUFSZ 4096 +#define PATTY_AX25_SOCK_BUFSZ 328 #define PATTY_AX25_SOCK_SLOTS_SABM 8 #define PATTY_AX25_SOCK_SLOTS_SABME 128