summaryrefslogtreecommitdiff
path: root/UZ7HODrv.c
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2023-08-14 17:08:51 +0100
committerJohn Wiseman <john.wiseman@cantab.net>2023-08-14 17:08:51 +0100
commit084ecb74f6007abbb7e1578675964ac9352ef822 (patch)
tree23a6d6b0da09412cb0c47c909200ec79f1965f03 /UZ7HODrv.c
parent0bdcbb4a69907185a9d625abfcee2c560ef2406d (diff)
6.0.24.2master
Diffstat (limited to 'UZ7HODrv.c')
-rw-r--r--UZ7HODrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/UZ7HODrv.c b/UZ7HODrv.c
index 50e5cf8..205273e 100644
--- a/UZ7HODrv.c
+++ b/UZ7HODrv.c
@@ -840,7 +840,7 @@ static size_t ExtProc(int fn, int port, PDATAMESSAGE buff)
Sock = TNCInfo[MasterPort[port]]->TCPSock;
- MsgLen = buffptr->LENGTH - 6; // 7 Header, need extra Null
+ MsgLen = buffptr->LENGTH - (MSGHDDRLEN - 1); // Need extra Null
buffptr->LENGTH = 0; // Need a NULL on front
Buffer = &buffptr->DEST[0]; // Raw Frame
Buffer--; // Need to send an extra byte on front