AX.25 interface updates

pull/4/head
Mark Qvist 2018-04-26 00:59:46 +02:00
rodzic 6cb30d778d
commit 6a3eb8a1e3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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