diff options
| author | John Wiseman <john.wiseman@cantab.net> | 2023-01-25 10:12:51 +0000 |
|---|---|---|
| committer | John Wiseman <john.wiseman@cantab.net> | 2023-01-25 10:12:51 +0000 |
| commit | c15de2c7f7e70c97a89b591b3ece72c5047ab4fa (patch) | |
| tree | 576b57d456bea59c60d265149e7969769bb6b015 /UZ7HODrv.c | |
| parent | 9a44d00480888cb11c614034489cc048d798f40f (diff) | |
6.0.23.4223.46
Diffstat (limited to 'UZ7HODrv.c')
| -rw-r--r-- | UZ7HODrv.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2179,15 +2179,17 @@ VOID ProcessAGWPacket(struct TNCINFO * TNC, UCHAR * Message) if (TNC == NULL)
return;
+ PORT = &TNC->PortRecord->PORTCONTROL;
+
if (strstr(Message, " To Station"))
{
char noStreams[] = "No free sessions - disconnecting\r";
// Incoming. Look for a free Stream
- Stream = 1;
+ Stream = 0;
- while(Stream <= AGW->MaxSessions)
+ while(Stream < AGW->MaxSessions)
{
if (TNC->PortRecord->ATTACHEDSESSIONS[Stream] == 0)
goto GotStream;
|
