summaryrefslogtreecommitdiff
path: root/FLDigi.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-11-09 22:34:20 +0000
committerDave Hibberd <hibby@debian.org>2025-11-09 22:34:20 +0000
commit367ab8fb01191ec54c91810b1896c41fdf7de911 (patch)
tree8f9ac2b818ebb923b47fce00b28eb127556d96fb /FLDigi.c
parent7c796758d1b65d4d7585c90ba71b1fb339a4d283 (diff)
New upstream version 6.0.25.9+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));