diff options
| author | John Wiseman <john.wiseman@cantab.net> | 2023-08-14 17:08:51 +0100 |
|---|---|---|
| committer | John Wiseman <john.wiseman@cantab.net> | 2023-08-14 17:08:51 +0100 |
| commit | 084ecb74f6007abbb7e1578675964ac9352ef822 (patch) | |
| tree | 23a6d6b0da09412cb0c47c909200ec79f1965f03 /UZ7HODrv.c | |
| parent | 0bdcbb4a69907185a9d625abfcee2c560ef2406d (diff) | |
6.0.24.2master
Diffstat (limited to 'UZ7HODrv.c')
| -rw-r--r-- | UZ7HODrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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
|
