From 6a3eb8a1e37aaf8dde4b3c724b07f84816d29c9d Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 26 Apr 2018 00:59:46 +0200 Subject: [PATCH] AX.25 interface updates --- RNS/Interfaces/AX25KISSInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Interfaces/AX25KISSInterface.py b/RNS/Interfaces/AX25KISSInterface.py index 7a6fc27..d118b01 100644 --- a/RNS/Interfaces/AX25KISSInterface.py +++ b/RNS/Interfaces/AX25KISSInterface.py @@ -253,7 +253,7 @@ class AX25KISSInterface(Interface): in_frame = True command = KISS.CMD_UNKNOWN data_buffer = "" - elif (in_frame and len(data_buffer) < RNS.Reticulum.MTU+AX25.OVERHEAD): + elif (in_frame and len(data_buffer) < RNS.Reticulum.MTU+AX25.HEADER_SIZE): if (len(data_buffer) == 0 and command == KISS.CMD_UNKNOWN): # We only support one HDLC port for now, so # strip off the port nibble