summaryrefslogtreecommitdiff
path: root/UZ7HODrv.c
diff options
context:
space:
mode:
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