summaryrefslogtreecommitdiff
path: root/FLDigi.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-10-24 00:36:48 +0100
committerDave Hibberd <hibby@debian.org>2025-10-24 00:36:48 +0100
commit453f162d225b192d5da5a843633208f0307e6afc (patch)
tree2eeee6d228e16c3cff6ca0037d419962f15fe756 /FLDigi.c
parent96ac3e4a36e5a0a9d86c10442ed747a8a910b40c (diff)
New upstream version 6.0.25.8+repackupstream/6.0.25.8+repack
Diffstat (limited to 'FLDigi.c')
-rw-r--r--FLDigi.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/FLDigi.c b/FLDigi.c
index 59d9008..d0ec34c 100644
--- a/FLDigi.c
+++ b/FLDigi.c
@@ -36,6 +36,12 @@ extern int (WINAPI FAR *EnumProcessesPtr)();
#include "bpq32.h"
+
+void hookL4SessionAttempt(struct STREAMINFO * , char * remotecall, char * ourcall);
+void hookL4SessionAccepted(struct STREAMINFO * , char * remotecall, char * ourcall);
+void hookL4SessionDeleted(struct TNCINFO * TNC, void * STREAM);
+
+
#define VERSION_MAJOR 2
#define VERSION_MINOR 0
@@ -819,7 +825,7 @@ pollloop:
char outbuff[1000];
int newlen;
- buff->L2DATA[-1] = 6; // KISS Control
+ buff->PID = 6; // KISS Control (PID is just before Data)
newlen = KissEncode(&buff->L2DATA[-1], outbuff, txlen);
sendto(TNC->TCPDataSock, outbuff, newlen, 0, (struct sockaddr *)&TNC->Datadestaddr, sizeof(struct sockaddr));