summaryrefslogtreecommitdiff
path: root/FLDigi.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-10-24 00:36:53 +0100
committerDave Hibberd <hibby@debian.org>2025-10-24 00:36:53 +0100
commitf99a0609183fb4f1b11cc476e6cd2feafe9c5534 (patch)
tree22292d78c8d3d2d00d5717df6669b35911572439 /FLDigi.c
parent13c0b79af7605bbec2fbec3ca72ae83af5363544 (diff)
parent453f162d225b192d5da5a843633208f0307e6afc (diff)
Update upstream source from tag 'upstream/6.0.25.8+repack'
Update to upstream version '6.0.25.8+repack' with Debian dir 34f11488dfd5eb7b8707d26aa580c8286cf1cfc0
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));