diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-09-29 21:39:24 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-09-29 21:39:24 +0100 |
| commit | 592e5967b8fcd79423802071319d0c646f2080df (patch) | |
| tree | 0eef3a28cfe1a939caf9d61e419a56d79b3c38e3 /SCSTrackeMulti.c | |
| parent | 23de03a0c8bf8a564cc0442f49d050ed11e372b8 (diff) | |
New upstream version 6.0.25.41+repackupstream/6.0.25.41+repack
Diffstat (limited to 'SCSTrackeMulti.c')
| -rw-r--r-- | SCSTrackeMulti.c | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/SCSTrackeMulti.c b/SCSTrackeMulti.c index 110a4e3..5425812 100644 --- a/SCSTrackeMulti.c +++ b/SCSTrackeMulti.c @@ -203,18 +203,7 @@ static size_t ExtProc(int fn, int port, PDATAMESSAGE buff) ok:
switch (fn)
{
- case 1: // poll
-
- for (Stream = 0; Stream <= MaxStreams; Stream++)
- {
- if (TNC->Streams[Stream].ReportDISC)
- {
- TNC->Streams[Stream].ReportDISC = FALSE;
- buff->PORT = Stream;
-
- return -1;
- }
- }
+ case 7: // poll
DEDCheckRX(TNC);
DEDPoll(port);
@@ -233,7 +222,27 @@ ok: STREAM->ReportDISC = TRUE; // Dont want to leave session attached. Causes too much confusion
}
}
- else
+
+
+ }
+
+ return 0;
+
+ case 1:
+
+ for (Stream = 0; Stream <= MaxStreams; Stream++)
+ {
+ STREAM = &TNC->Streams[Stream];
+
+ if (STREAM->ReportDISC)
+ {
+ STREAM->ReportDISC = FALSE;
+ buff->PORT = Stream;
+
+ return -1;
+ }
+
+ if (STREAM->PACTORtoBPQ_Q)
{
int datalen;
|
